The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/3738

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Stéphane Graber <[email protected]>
From 8fe9c1948b58320a4201019c27be0c676cdb3820 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <[email protected]>
Date: Wed, 30 Aug 2017 01:49:27 -0400
Subject: [PATCH] Fix error message when log path is missing
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <[email protected]>
---
 lxd/main_subcommand.go | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lxd/main_subcommand.go b/lxd/main_subcommand.go
index 23c868e5b..2d634dd59 100644
--- a/lxd/main_subcommand.go
+++ b/lxd/main_subcommand.go
@@ -91,10 +91,11 @@ func setupSubCommand(context *cmd.Context, args *Args, 
handler log.Handler) erro
        if args.Syslog {
                syslog = "lxd"
        }
+
        var err error
        logger.Log, err = logging.GetLogger(syslog, args.Logfile, args.Verbose, 
args.Debug, handler)
        if err != nil {
-               context.Output("%s", err)
+               context.Output("%v\n", err)
                return err
        }
 
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to