fixed few minor issues

This commit is contained in:
2023-05-05 19:50:16 +02:00
parent 23d36cc8af
commit 7542fba94e
3 changed files with 8 additions and 7 deletions

View File

@@ -140,7 +140,7 @@ read_commandline()
syntax_error
fi
unset want_conffile want_logfile want_module
unset want_conffile want_logfile want_module want_chroot
}
export -f read_commandline
@@ -165,8 +165,8 @@ process_commandline_and_vars()
prnt E "Resuming doesn't make sense with --check-only."
die 1 --force
fi
if [[ $MANUAL_MODULE_LIST ]]; then
prnt E "Recovery mode can't work with a manual module list."
if [[ -n $MANUAL_MODULE_LIST ]]; then
prnt E "Resume mode can't work with a manual module list."
die 1 --force
fi
fi