mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-26 05:35:21 +07: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