From: Lennart Poettering Date: Wed, 13 Apr 2011 20:22:10 +0000 (+0200) Subject: cryptsetup: add trailing \n X-Git-Tag: v25~47 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5010903819a6918c04e6cffa0edea6865cf3d5ef;p=systemd cryptsetup: add trailing \n --- diff --git a/src/cryptsetup-generator.c b/src/cryptsetup-generator.c index 00f48009..9b62e6a6 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);