diff --git a/src/cryptsetup-generator.c b/src/cryptsetup-generator.c index 00f48009edd..9b62e6a6d3c 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);