From 5010903819a6918c04e6cffa0edea6865cf3d5ef Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 13 Apr 2011 22:22:10 +0200 Subject: [PATCH] cryptsetup: add trailing \n --- src/cryptsetup-generator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.5