mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
systemd: fix extra space in unit generated by lvm2-activation-generator
This commit is contained in:
parent
b5e093624d
commit
70be57c8da
@ -137,7 +137,7 @@ static int generate_unit(const char *dir, int unit, int sysinit_needed)
|
||||
fputs("After=systemd-udev-settle.service\n"
|
||||
"Before=cryptsetup.target\n", f);
|
||||
} else
|
||||
fprintf(f, "After= %s cryptsetup.target\n", unit_names[UNIT_EARLY]);
|
||||
fprintf(f, "After=%s cryptsetup.target\n", unit_names[UNIT_EARLY]);
|
||||
|
||||
fputs("Before=local-fs-pre.target shutdown.target\n"
|
||||
"Wants=systemd-udev-settle.service\n\n"
|
||||
|
Loading…
Reference in New Issue
Block a user