aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-02-13 20:29:24 +0000
committerBill Nottingham <notting@redhat.com>2001-02-13 20:29:24 +0000
commit09caceabdc6fd704a78e2234eadb302bec2249be (patch)
treedf309c12c3857adc8458ddee1bace769bac98b70 /rc.d/init.d
parent9b55df337e4b3eb47f1566edbfffd0eb169e7144 (diff)
downloadinitscripts-09caceabdc6fd704a78e2234eadb302bec2249be.tar
initscripts-09caceabdc6fd704a78e2234eadb302bec2249be.tar.gz
initscripts-09caceabdc6fd704a78e2234eadb302bec2249be.tar.bz2
initscripts-09caceabdc6fd704a78e2234eadb302bec2249be.tar.xz
initscripts-09caceabdc6fd704a78e2234eadb302bec2249be.zip
fix typosr5-64
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-xrc.d/init.d/halt2
-rwxr-xr-xrc.d/init.d/netfs2
2 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt
index b98ac775..4893e753 100755
--- a/rc.d/init.d/halt
+++ b/rc.d/init.d/halt
@@ -134,7 +134,7 @@ remaining=`awk '!/^#/ && $1 ~ /^\/dev\/loop/ && $2 != "/" {print $2}' /proc/moun
runcmd $"Unmounting loobpack filesystems: " umount $remaining
fi
remaining=`awk '!/^#/ && $1 ~ /^\/dev\/loop/ && $2 != "/" {print $2}' /proc/mounts`
- [ -z "$remaining" && break
+ [ -z "$remaining" ] && break
/sbin/fuser -k -m $sig $remaining >/dev/null
sleep 5
retry=$(($retry -1))
diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs
index 753937f3..85e96b03 100755
--- a/rc.d/init.d/netfs
+++ b/rc.d/init.d/netfs
@@ -56,7 +56,7 @@ case "$1" in
action $"Unmounting loobpack filesystems: " umount $remaining
fi
remaining=`awk '!/^#/ && $1 ~ /^\/dev\/loop/ && $2 != "/" {print $2}' /proc/mounts`
- [ -z "$remaining" && break
+ [ -z "$remaining" ] && break
/sbin/fuser -k -m $sig $remaining >/dev/null
sleep 5
retry=$(($retry -1))