mirror of
https://github.com/systemd/systemd.git
synced 2024-12-25 01:34:28 +03:00
cryptsetup: add trailing \n
This commit is contained in:
parent
d718bbb51b
commit
5010903819
@ -122,12 +122,12 @@ static int create_disk(
|
||||
|
||||
if (options && has_option(options, "tmp"))
|
||||
fprintf(f,
|
||||
"ExecStartPost=/sbin/mke2fs '/dev/mapper/%s'",
|
||||
"ExecStartPost=/sbin/mke2fs '/dev/mapper/%s'\n",
|
||||
name);
|
||||
|
||||
if (options && has_option(options, "swap"))
|
||||
fprintf(f,
|
||||
"ExecStartPost=/sbin/mkswap '/dev/mapper/%s'",
|
||||
"ExecStartPost=/sbin/mkswap '/dev/mapper/%s'\n",
|
||||
name);
|
||||
|
||||
fflush(f);
|
||||
|
Loading…
Reference in New Issue
Block a user