[lxc-devel] [lxc/master] tools: add missing newline in lxc-create output

brauner on Github lxc-bot at linuxcontainers.org
Sat Aug 13 14:05:32 UTC 2016


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 363 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160813/f986897e/attachment.bin>
-------------- next part --------------
From a7944d2bf18d23e9b439c742fb8558cc43c4f251 Mon Sep 17 00:00:00 2001
From: Christian Brauner <cbrauner at suse.de>
Date: Sat, 13 Aug 2016 16:04:44 +0200
Subject: [PATCH] tools: add missing newline in lxc-create output

Signed-off-by: Christian Brauner <cbrauner at suse.de>
---
 src/lxc/tools/lxc_create.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lxc/tools/lxc_create.c b/src/lxc/tools/lxc_create.c
index 4b0e9d7..6e8acf0 100644
--- a/src/lxc/tools/lxc_create.c
+++ b/src/lxc/tools/lxc_create.c
@@ -258,7 +258,7 @@ int main(int argc, char *argv[])
 		}
 		if (strcmp(my_args.bdevtype, "dir") && strcmp(my_args.bdevtype, "_unset") &&
 				strcmp(my_args.bdevtype, "btrfs")) {
-			fprintf(stderr, "Unprivileged users cannot create %s containers", my_args.bdevtype);
+			fprintf(stderr, "Unprivileged users cannot create %s containers.\n", my_args.bdevtype);
 			exit(EXIT_FAILURE);
 		}
 	}


More information about the lxc-devel mailing list