aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-03-17 02:24:18 +0000
committerBill Nottingham <notting@redhat.com>2004-03-17 02:24:18 +0000
commit29cc108b3be859335293941a082e04f5da78df53 (patch)
tree6740bf7de46d2552e1f7cf4e843378253a17fa3d
parent064e07a9abd41c684ba42f75290667e9a1d05f02 (diff)
downloadinitscripts-29cc108b3be859335293941a082e04f5da78df53.tar
initscripts-29cc108b3be859335293941a082e04f5da78df53.tar.gz
initscripts-29cc108b3be859335293941a082e04f5da78df53.tar.bz2
initscripts-29cc108b3be859335293941a082e04f5da78df53.tar.xz
initscripts-29cc108b3be859335293941a082e04f5da78df53.zip
fix umounting code (#113088, <giardina@airlab.elet.polimi.it>)
-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 4b3bdb8f..d9faaaf8 100755
--- a/rc.d/init.d/halt
+++ b/rc.d/init.d/halt
@@ -194,7 +194,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