aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/halt
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-01-24 23:01:10 +0000
committerBill Nottingham <notting@redhat.com>2001-01-24 23:01:10 +0000
commitc68b93ad140cc16db72a8ab05260e4a7bb1a97b3 (patch)
tree9b6c5a1e6b3e52d50cddad99c617248eb2b6fad1 /rc.d/init.d/halt
parentdff87e543e3515585e60a3d2ba50057ae4c4fbb4 (diff)
downloadinitscripts-c68b93ad140cc16db72a8ab05260e4a7bb1a97b3.tar
initscripts-c68b93ad140cc16db72a8ab05260e4a7bb1a97b3.tar.gz
initscripts-c68b93ad140cc16db72a8ab05260e4a7bb1a97b3.tar.bz2
initscripts-c68b93ad140cc16db72a8ab05260e4a7bb1a97b3.tar.xz
initscripts-c68b93ad140cc16db72a8ab05260e4a7bb1a97b3.zip
fix inability to shutdown cleanly
Diffstat (limited to 'rc.d/init.d/halt')
-rwxr-xr-xrc.d/init.d/halt4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt
index 792e17b1..06721332 100755
--- a/rc.d/init.d/halt
+++ b/rc.d/init.d/halt
@@ -116,9 +116,9 @@ remaining=`awk '!/(^#|proc|loopfs|^none|^\/dev\/root| \/ )/ {print $2}' /proc/mo
while [ -n "$remaining" -a "$retry" -gt 0 ]
do
if [ "$retry" -lt 3 ]; then
- runcmd $"Unmounting file systems (retry): " umount -a -f -t noproc
+ LANG=C runcmd $"Unmounting file systems (retry): " umount -a -f -t noproc
else
- runcmd $"Unmounting file systems: " umount -a -f -t noproc
+ LANG=C runcmd $"Unmounting file systems: " umount -a -f -t noproc
fi
sleep 2
remaining=`awk '!/(^#|proc|loopfs|^none|^\/dev\/root| \/ )/ {print $2}' /proc/mounts`