[anaconda][all branches] Fix another bash syntax problem in kickstart-genrules.sh (#1057271)
Chris Lumens
clumens at redhat.com
Tue Sep 8 20:53:59 UTC 2015
> diff --git a/dracut/kickstart-genrules.sh b/dracut/kickstart-genrules.sh
> index ae9310a..052b90a 100755
> --- a/dracut/kickstart-genrules.sh
> +++ b/dracut/kickstart-genrules.sh
> @@ -31,7 +31,7 @@ case "${kickstart%%:*}" in
> warn "inst.ks: can't get kickstart - biospart (bd:) isn't supported yet"
> ;;
> "")
> - if [ -z "$kickstart" -a -n "$(getarg ks= inst.ks=)" ]; then
> + if [ -z "$kickstart" -a -z "$(getarg ks= inst.ks=)" ]; then
> when_diskdev_appears $(disk_to_dev_path LABEL=OEMDRV) \
> fetch-kickstart-disk \$env{DEVNAME} "/ks.cfg"
> fi
I should have caught this the first time we talked about it. Sorry, and
ACK.
- Chris
More information about the anaconda-patches
mailing list