aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-03-17 02:24:35 +0000
committerBill Nottingham <notting@redhat.com>2004-03-17 02:24:35 +0000
commit21031db783b5059b441a096fad1e4348b96fbca7 (patch)
tree945340e27da9535ac3b8a24ceb0fa93ab448880c /rc.d
parent7c98f624049d6096c5fbd5ca83f2ebbf6cf16944 (diff)
downloadinitscripts-21031db783b5059b441a096fad1e4348b96fbca7.tar
initscripts-21031db783b5059b441a096fad1e4348b96fbca7.tar.gz
initscripts-21031db783b5059b441a096fad1e4348b96fbca7.tar.bz2
initscripts-21031db783b5059b441a096fad1e4348b96fbca7.tar.xz
initscripts-21031db783b5059b441a096fad1e4348b96fbca7.zip
fix umounting code (#113088, <giardina@airlab.elet.polimi.it>)
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/init.d/halt2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt
index fcb15aa3..6d3afdd4 100755
--- a/rc.d/init.d/halt
+++ b/rc.d/init.d/halt
@@ -173,7 +173,7 @@ done
rm -f /.autofsck
# Try all file systems other than root and RAM disks, one last time.
-mount | awk '/!( \/ |^\/dev\/root|^\/dev\/ram)/ { print $3 }' | \
+mount | awk '!/( \/ |^\/dev\/root|^\/dev\/ram)/ { print $3 }' | \
while read line; do
umount -f $line
done