[PATCH 4/5] Fix error handling in the case of no live block device.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 data/liveinst/liveinst |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/data/liveinst/liveinst b/data/liveinst/liveinst
index ae7dd64..d226f3f 100755
--- a/data/liveinst/liveinst
+++ b/data/liveinst/liveinst
@@ -52,7 +52,7 @@ if [ -z "$LIVE_BLOCK" ]; then
     fi
 fi
 
-if [ $LIVE_INSTALL = 1 -a ! -b $LIVE_BLOCK ]; then
+if [ $LIVE_INSTALL = 1 -a ! -b "$LIVE_BLOCK" ]; then
   zenity --error --title="Not a Live image" --text "Can't do live image installation unless running from a live image"
   exit 1
 fi
-- 
1.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux