Aborting with error if hdd label has a whitespace (Closes: #648861).
This commit is contained in:
parent
6f39d25611
commit
442dfb4669
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue