From: David van Moolenbroek Date: Fri, 12 Jun 2009 13:17:33 +0000 (+0000) Subject: better solution for poweroff(8) X-Git-Tag: v3.1.5~238 X-Git-Url: http://zhaoyanbai.com/repos/%22/xml/v3/zones/static/Bv9ARM.ch05.html?a=commitdiff_plain;h=87beb9c46975f196e5953f02452016c5939efa53;p=minix.git better solution for poweroff(8) --- diff --git a/commands/scripts/poweroff.sh b/commands/scripts/poweroff.sh index ca82b5ce1..92c563fba 100644 --- a/commands/scripts/poweroff.sh +++ b/commands/scripts/poweroff.sh @@ -10,6 +10,4 @@ fi PATH=/usr/bin:$PATH -trap "" 15 - -shutdown -x off +exec shutdown -x off