summaryrefslogtreecommitdiff
path: root/functions/defaults.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-xfunctions/defaults.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 4a820bee2..4531551e1 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -1194,6 +1194,13 @@ Check_defaults ()
fi
fi
+ if echo ${LB_HDD_LABEL} | grep -qs ' '
+ then
+ Echo_error "There are currently no whitespaces supported in hdd labels."
+
+ exit 1
+ fi
+
if [ "${LB_DEBIAN_INSTALLER}" != "false" ]
then
# d-i true, no caching