summaryrefslogtreecommitdiffstats
path: root/src/cryptsetup-generator.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cryptsetup-generator.c')
-rw-r--r--src/cryptsetup-generator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptsetup-generator.c b/src/cryptsetup-generator.c
index 00f48009ed..9b62e6a6d3 100644
--- a/src/cryptsetup-generator.c
+++ b/src/cryptsetup-generator.c
@@ -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);