From: Harald Hoyer Date: Fri, 19 Apr 2013 13:08:16 +0000 (+0200) Subject: fixup 3be5d63c2f X-Git-Tag: 028~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab42fe38fd1672f83cd3500771caf321ae25080d;p=thirdparty%2Fdracut.git fixup 3be5d63c2f either test or [] --- diff --git a/modules.d/99shutdown/shutdown.sh b/modules.d/99shutdown/shutdown.sh index f7b8509ec..d6a532b0c 100755 --- a/modules.d/99shutdown/shutdown.sh +++ b/modules.d/99shutdown/shutdown.sh @@ -8,7 +8,7 @@ # Harald Hoyer ACTION="$1" -[ test -w /dev/console ] && exec >/dev/console 2>>/dev/console +[ -w /dev/console ] && exec >/dev/console 2>>/dev/console export TERM=linux export PATH=/usr/sbin:/usr/bin:/sbin:/bin