summaryrefslogtreecommitdiff
path: root/modules.d/90mdraid
diff options
context:
space:
mode:
Diffstat (limited to 'modules.d/90mdraid')
-rwxr-xr-xmodules.d/90mdraid/mdraid_start.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/90mdraid/mdraid_start.sh b/modules.d/90mdraid/mdraid_start.sh
index f79f16eb..f4b7ad0c 100755
--- a/modules.d/90mdraid/mdraid_start.sh
+++ b/modules.d/90mdraid/mdraid_start.sh
@@ -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 ?