Correcting inverted logic when ejecting medium in live-medium-eject.
authorDaniel Baumann <mail@daniel-baumann.ch>
Fri, 13 Jun 2014 19:29:35 +0000 (21:29 +0200)
committerDaniel Baumann <mail@daniel-baumann.ch>
Sat, 14 Jun 2014 05:31:12 +0000 (07:31 +0200)
bin/live-medium-eject

index 9efcc57..e60fc3e 100755 (executable)
@@ -59,7 +59,7 @@ case "${_DEVICE}" in
                ;;
 esac
 
-if [ -x "$(which eject 2> /dev/null)" ]
+if [ -x "$(which eject 2> /dev/null)" ]
 then
        eject -p -m ${_DEVICE} > /dev/null 2>&1
 fi