]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fixup 3be5d63c2f
authorHarald Hoyer <harald@redhat.com>
Fri, 19 Apr 2013 13:08:16 +0000 (15:08 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 19 Apr 2013 13:08:16 +0000 (15:08 +0200)
either test or []

modules.d/99shutdown/shutdown.sh

index f7b8509ec518eedf2a913ad798a9cdbe60041c58..d6a532b0c213c7957d223515a0fcf6328be7a403 100755 (executable)
@@ -8,7 +8,7 @@
 # Harald Hoyer <harald@redhat.com>
 ACTION="$1"
 
-[ test -w /dev/console ] && exec </dev/console >>/dev/console 2>>/dev/console
+[ -w /dev/console ] && exec </dev/console >>/dev/console 2>>/dev/console
 
 export TERM=linux
 export PATH=/usr/sbin:/usr/bin:/sbin:/bin