diff options
author | Bill Nottingham <notting@redhat.com> | 2010-04-06 14:30:58 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-04-06 14:34:45 -0400 |
commit | c3d99c098ca6ab9eb29b12632658c6a24b59f912 (patch) | |
tree | 223ab8243da1562e9697a47efa2e0a0774f14be3 /rc.d | |
parent | 282884a3110534a33909e89c4731f0661dadc8c5 (diff) | |
download | initscripts-c3d99c098ca6ab9eb29b12632658c6a24b59f912.tar initscripts-c3d99c098ca6ab9eb29b12632658c6a24b59f912.tar.gz initscripts-c3d99c098ca6ab9eb29b12632658c6a24b59f912.tar.bz2 initscripts-c3d99c098ca6ab9eb29b12632658c6a24b59f912.tar.xz initscripts-c3d99c098ca6ab9eb29b12632658c6a24b59f912.zip |
Fix mdmom pid handling for newer mdadm (#549726, <dledford@redhat.com>)
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/init.d/halt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt index 7144d3da..547e61b2 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" -o ! -r "$i" ]; then +for i in /dev/md/*.pid; do + if [ ! -r "$i" ]; then continue fi OMITARGS="$OMITARGS -o $(cat $i)" |