On 09/01/2015 01:37 PM, Samantha N. Bueno wrote:
Freakin bash.
Resolves: rhbz#1057271
---
dracut/kickstart-genrules.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dracut/kickstart-genrules.sh b/dracut/kickstart-genrules.sh
index a6972b2..ae9310a 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 -n "$(getarg ks= inst.ks=)" ]; then
when_diskdev_appears $(disk_to_dev_path LABEL=OEMDRV) \
fetch-kickstart-disk \$env{DEVNAME} "/ks.cfg"
fi
Ack.