diff options
| author | jandob | 2016-03-11 17:09:18 +0100 |
|---|---|---|
| committer | jandob | 2016-03-11 17:09:18 +0100 |
| commit | 26de22abb235f01e03136ce83875419839bec32f (patch) | |
| tree | 68c04bf3f201f01cb97962aa21dd52d8c4f75533 /builder | |
| parent | Fix. (diff) | |
| download | systemd-init-26de22abb235f01e03136ce83875419839bec32f.tar.gz systemd-init-26de22abb235f01e03136ce83875419839bec32f.tar.xz systemd-init-26de22abb235f01e03136ce83875419839bec32f.zip | |
fix typo
Diffstat (limited to 'builder')
| -rwxr-xr-x | builder/dnbd3-rootfs/hooks/prepare-kernel-command-line-parameter.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/builder/dnbd3-rootfs/hooks/prepare-kernel-command-line-parameter.sh b/builder/dnbd3-rootfs/hooks/prepare-kernel-command-line-parameter.sh index e17d631c..a665023b 100755 --- a/builder/dnbd3-rootfs/hooks/prepare-kernel-command-line-parameter.sh +++ b/builder/dnbd3-rootfs/hooks/prepare-kernel-command-line-parameter.sh @@ -64,11 +64,11 @@ if [ -z "$dracut_interface_name" ]; then fi mount --options bind "${writeable_proc_cmdline_path}cmdline" /proc/cmdline -if [ -z $(getargs slxsrv=) ]; then +if [ -z "$(getargs slxsrv=)" ]; then logging.warn 'No "slxsrv" parameter found in the kernel command line.' exit 1 fi -if [ -z $(getargs slxbase=) ]; then +if [ -z "$(getargs slxbase=)" ]; then logging.warn 'No "slxbase" parameter found in the kernel command line.' exit 1 fi @@ -76,6 +76,7 @@ fi logging.debug '-----------------------Dracut-Kernel-Command-Line:----------------------' logging.debug "$(logging.cat /proc/cmdline)" logging.debug '------------------------------------------------------------------------' +} exceptions.catch { emergency_shell "error in ${BASH_SOURCE[0]}" |
