1
0
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:
Timur Bakeyev 2016-09-26 09:54:19 +02:00 committed by Peter Rajnoha
parent b5e093624d
commit 70be57c8da

View File

@ -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"