diff options
Diffstat (limited to 'rc.d/init.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)" |