diff options
| author | Bill Nottingham <notting@redhat.com> | 2006-10-19 19:44:16 +0000 |
|---|---|---|
| committer | Bill Nottingham <notting@redhat.com> | 2006-10-19 19:44:16 +0000 |
| commit | db147bb0ed160708501ffae23eaf896da0dc7b91 (patch) | |
| tree | 4337c2bb2d6edd8d5d32c76b6b1945f5817f9eb5 /rc.d/init.d/functions | |
| parent | f87c918914e0a482670d76f17ba94803ccb191bb (diff) | |
backport some fixesr8-31-6
Diffstat (limited to 'rc.d/init.d/functions')
| -rwxr-xr-x | rc.d/init.d/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions index 3db40360..45a2bc10 100755 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -493,7 +493,7 @@ resolve_dm_name() { ( name="$1" - line=$(/sbin/dmraid -ay -t --ignorelocking | egrep -iv "no block devices found|No RAID disks" | awk -F ':' "{ if (\$1 ~ /^$name$/) { print \$2; }}") + line=$(/sbin/dmraid -ay -t --ignorelocking | egrep -iv "^[nN]o " | awk -F ':' "{ if (\$1 ~ /^$name$/) { print \$2; }}") newline=$line for x in $line ; do if [[ "$x" =~ "^/dev/" ]] ; then |
