chiark / gitweb /
shared: generator - correct path to systemd-fsck
[elogind.git] / src / shared / generator.c
index 81284995f5ab1c2d58ecf68513756abcf72ee3f0..807569a1b8b008bde3f9fba4d5295e639d857f69 100644 (file)
@@ -61,7 +61,7 @@ static int write_fsck_sysroot_service(const char *dir, const char *what) {
                 "[Service]\n"
                 "Type=oneshot\n"
                 "RemainAfterExit=yes\n"
-                "ExecStart=/usr/lib/systemd/systemd-fsck %2$s\n"
+                "ExecStart=" SYSTEMD_FSCK_PATH " %2$s\n"
                 "TimeoutSec=0\n",
                 program_invocation_short_name,
                 what,