diff --git a/lib/util-iso-boot.sh b/lib/util-iso-boot.sh index 5408fcb..f16df4b 100644 --- a/lib/util-iso-boot.sh +++ b/lib/util-iso-boot.sh @@ -203,7 +203,7 @@ write_isolinux_cfg(){ echo '' >> ${conf} echo "label start" >> ${conf} echo " kernel /${iso_name}/boot/${arch}/${iso_name}" >> ${conf} - plymouth_settings=" quiet splash" + local plymouth_settings=" quiet splash" # on openrc, you would want quite initramfs boot, except you want to debug hooks # quite doesn't affect openrc verbosity, so only splash is useless on openrc if ! ${plymouth_boot};then diff --git a/lib/util.sh b/lib/util.sh index e5e60b0..f73672b 100644 --- a/lib/util.sh +++ b/lib/util.sh @@ -208,7 +208,7 @@ check_root() { parse_section() { local is_section=0 while read line; do - [[ $line =~ ^\ {0,}# ]] && continue + [[ $line =~ ^\ {0,}# ]] && continue [[ -z "$line" ]] && continue if [ $is_section == 0 ]; then if [[ $line =~ ^\[.*?\] ]]; then