aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xartixinstall2
-rwxr-xr-xcryptinstall2
2 files changed, 4 insertions, 0 deletions
diff --git a/artixinstall b/artixinstall
index 6fe1633..b9f0c01 100755
--- a/artixinstall
+++ b/artixinstall
@@ -34,6 +34,8 @@ if [ -z "${TARGET}" ]; then
echo -e "\e[0m"
fi
+# Needed because otherwise the disk might be overwritten
+# without installing a bootable system.
if [ -z "${TARGET}" ]; then
echo -en "\e[1m\e[1;31mGRUB target must not be empty.\e[0m"
exit 1
diff --git a/cryptinstall b/cryptinstall
index cac3acc..b526502 100755
--- a/cryptinstall
+++ b/cryptinstall
@@ -34,6 +34,8 @@ if [ -z "${TARGET}" ]; then
echo -e "\e[0m"
fi
+# Needed because otherwise the disk might be overwritten
+# without installing a bootable system.
if [ -z "${TARGET}" ]; then
echo -en "\e[1m\e[1;31mGRUB target must not be empty.\e[0m"
exit 1