]> err.no Git - systemd/commitdiff
cryptsetup: add trailing \n
authorLennart Poettering <lennart@poettering.net>
Wed, 13 Apr 2011 20:22:10 +0000 (22:22 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 16 Apr 2011 00:03:34 +0000 (02:03 +0200)
src/cryptsetup-generator.c

index 00f48009edd52be80c040c285022a49a71cb74f5..9b62e6a6d3c62ccf3f9fece7cd203c64eeebca11 100644 (file)
@@ -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);