diff options
-rwxr-xr-x | modules.d/99shutdown/shutdown.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/99shutdown/shutdown.sh b/modules.d/99shutdown/shutdown.sh index f7b8509e..d6a532b0 100755 --- a/modules.d/99shutdown/shutdown.sh +++ b/modules.d/99shutdown/shutdown.sh @@ -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 |