90mdraid/mdraid_start.sh: fix path to md sysfs
parent
77a57d5eaf
commit
e0e9221e23
|
@ -14,7 +14,7 @@ _md_force_run() {
|
|||
strstr "$_udevinfo" "MD_LEVEL=container" && continue
|
||||
strstr "$_udevinfo" "DEVTYPE=partition" && continue
|
||||
|
||||
_path_s="$(udevadm info -q path -n "$md")/md/array_state"
|
||||
_path_s="/sys/$(udevadm info -q path -n "$md")/md/array_state"
|
||||
[ ! -r "$_path_s" ] && continue
|
||||
|
||||
# inactive ?
|
||||
|
|
Loading…
Reference in New Issue