Aborting with error if hdd label has a whitespace (Closes: #648861).
This commit is contained in:
parent
09067bbbf8
commit
a99ec2cd62
|
@ -1201,6 +1201,13 @@ Check_defaults ()
|
||||||
fi
|
fi
|
||||||
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" ]
|
if [ "${LB_DEBIAN_INSTALLER}" != "false" ]
|
||||||
then
|
then
|
||||||
# d-i true, no caching
|
# d-i true, no caching
|
||||||
|
|
Loading…
Reference in New Issue