aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/halt
diff options
context:
space:
mode:
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 94d4fb08..23eaca80 100755
--- a/rc.d/init.d/halt
+++ b/rc.d/init.d/halt
@@ -77,8 +77,8 @@ esac
# Find mdmon pid's and omit killing them
OMITARGS=
-for i in /dev/.mdadm/*.pid; do
- if [ "$i" = "mdadm.pid" ] || [ ! -r "$i" ]; then
+for i in /dev/md/*.pid; do
+ if [ ! -r "$i" ]; then
continue
fi
OMITARGS="$OMITARGS -o $(cat $i)"