plymouth/plymouth-pretrigger.sh: s/! -n/-z/
authorHarald Hoyer <harald@redhat.com>
Wed, 1 Aug 2012 12:36:58 +0000 (14:36 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 1 Aug 2012 12:36:58 +0000 (14:36 +0200)
modules.d/50plymouth/plymouth-pretrigger.sh

index 17533bb..0e3cb02 100755 (executable)
@@ -2,7 +2,7 @@
 # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
 # ex: ts=8 sw=4 sts=4 et filetype=sh
 
-if [ -x /bin/plymouthd -a ! -n "$DRACUT_SYSTEMD" ]; then
+if [ -x /bin/plymouthd -a -z "$DRACUT_SYSTEMD" ]; then
     if getargbool 1 plymouth.enable && getargbool 1 rd.plymouth -d -n rd_NO_PLYMOUTH; then
         # first trigger graphics subsystem
         udevadm trigger --action=add --attr-match=class=0x030000 >/dev/null 2>&1