From 21031db783b5059b441a096fad1e4348b96fbca7 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 17 Mar 2004 02:24:35 +0000 Subject: fix umounting code (#113088, ) --- rc.d/init.d/halt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.d/init.d') 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 -- cgit v1.2.1