Correcting wrong abort logic in 21xdriver, thanks to Luigi Capriotti <l.capriotti...
authorDaniel Baumann <daniel@debian.org>
Fri, 19 Jun 2009 10:57:10 +0000 (12:57 +0200)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:48:05 +0000 (17:48 +0100)
scripts/live-bottom/21xdriver

index ef17bff..105f5b2 100755 (executable)
@@ -20,7 +20,7 @@ esac
 
 # live-initramfs header
 
-if [ -n "${NOXAUTOCONFIG}" ] || [ ! -x /root/usr/bin/X ] || [ -n "${XDRIVER}" ]
+if [ -n "${NOXAUTOCONFIG}" ] || [ ! -x /root/usr/bin/X ] || [ -z "${XDRIVER}" ]
 then
        exit 0
 fi