aboutsummaryrefslogtreecommitdiff
path: root/cryptinstall
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2022-09-08 22:19:29 +0200
committerHimbeerserverDE <himbeerserverde@gmail.com>2022-09-08 22:19:29 +0200
commit07553ceaa80a1da1e58ab69da1121702532ee7e4 (patch)
treecbf4fe060227f276493f6b27a1409ba9bfd911f3 /cryptinstall
parentb8e34b0143dad4132323621f9e0df3efb0ad989a (diff)
Explain why GRUB target needs to be checked
Diffstat (limited to 'cryptinstall')
-rwxr-xr-xcryptinstall2
1 files changed, 2 insertions, 0 deletions
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