diff options
author | Jeremy Katz <katzj@redhat.com> | 2007-12-17 15:52:34 -0500 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2007-12-17 15:52:34 -0500 |
commit | 4dba03fb17130344fc02de5d73310030717978a5 (patch) | |
tree | 339283c68184cbbb67d21d772857f2ded91a3185 /liveinst | |
parent | 42876809ca9c459f686be227f069b15baaef695d (diff) | |
download | anaconda-4dba03fb17130344fc02de5d73310030717978a5.tar.gz anaconda-4dba03fb17130344fc02de5d73310030717978a5.tar.xz anaconda-4dba03fb17130344fc02de5d73310030717978a5.zip |
Minor fixes to liveinst shell script
Allow passing options and don't spew errors with SELinux disabled
Diffstat (limited to 'liveinst')
-rw-r--r-- | liveinst/liveinst.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/liveinst/liveinst.sh b/liveinst/liveinst.sh index 27bd0f180..3f1ef2036 100644 --- a/liveinst/liveinst.sh +++ b/liveinst/liveinst.sh @@ -56,11 +56,11 @@ fi /sbin/lvm vgchange -an --ignorelockingfailure if [ -x /usr/bin/hal-lock -a -e /var/lock/subsys/haldaemon ]; then - /usr/bin/hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run "$ANACONDA" + /usr/bin/hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run "$ANACONDA" $* else - $ANACONDA + $ANACONDA $* fi -if [ -n $current ]; then +if [ -n "$current" ]; then /usr/sbin/setenforce $current fi |