aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-04-06 14:30:58 -0400
committerBill Nottingham <notting@redhat.com>2010-04-06 14:30:58 -0400
commitc0850b79ad27b2e68c21a1043465910321502c45 (patch)
tree56aeb0bc5c687468a68a817a7b063a00c0c2e027 /rc.d
parentb0fe47d3631c329398e16c5cecaed87b7ed1e16b (diff)
downloadinitscripts-c0850b79ad27b2e68c21a1043465910321502c45.tar
initscripts-c0850b79ad27b2e68c21a1043465910321502c45.tar.gz
initscripts-c0850b79ad27b2e68c21a1043465910321502c45.tar.bz2
initscripts-c0850b79ad27b2e68c21a1043465910321502c45.tar.xz
initscripts-c0850b79ad27b2e68c21a1043465910321502c45.zip
Fix mdmom pid handling for newer mdadm (#549726, <dledford@redhat.com>)
Diffstat (limited to 'rc.d')
-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)"