diff --git a/systemd/mdadm-last-resort@.service b/systemd/mdadm-last-resort@.service index efeb3f63..32741d3a 100644 --- a/systemd/mdadm-last-resort@.service +++ b/systemd/mdadm-last-resort@.service @@ -1,8 +1,8 @@ [Unit] Description=Activate md array %I even though degraded DefaultDependencies=no -ConditionPathExists=!/sys/devices/virtual/block/%i/md/sync_action +ConditionPathExists=!/sys/devices/virtual/block/%I/md/sync_action [Service] Type=oneshot -ExecStart=BINDIR/mdadm --run /dev/%i +ExecStart=BINDIR/mdadm --run /dev/%I