mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-27 06:05:24 +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"))
|
if (options && has_option(options, "tmp"))
|
||||||
fprintf(f,
|
fprintf(f,
|
||||||
"ExecStartPost=/sbin/mke2fs '/dev/mapper/%s'",
|
"ExecStartPost=/sbin/mke2fs '/dev/mapper/%s'\n",
|
||||||
name);
|
name);
|
||||||
|
|
||||||
if (options && has_option(options, "swap"))
|
if (options && has_option(options, "swap"))
|
||||||
fprintf(f,
|
fprintf(f,
|
||||||
"ExecStartPost=/sbin/mkswap '/dev/mapper/%s'",
|
"ExecStartPost=/sbin/mkswap '/dev/mapper/%s'\n",
|
||||||
name);
|
name);
|
||||||
|
|
||||||
fflush(f);
|
fflush(f);
|
||||||
|
Loading…
Reference in New Issue
Block a user