mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +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