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

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: Christian Brauner <[email protected]>
From 00cccc8bd23ae08a197046cd5a8b81ed5b94e8ba Mon Sep 17 00:00:00 2001
From: Christian Brauner <[email protected]>
Date: Fri, 5 May 2017 14:37:27 +0200
Subject: [PATCH] monitor: report errno on exec() error

Signed-off-by: Christian Brauner <[email protected]>
---
 src/lxc/monitor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lxc/monitor.c b/src/lxc/monitor.c
index 3031f2f..410a0f4 100644
--- a/src/lxc/monitor.c
+++ b/src/lxc/monitor.c
@@ -366,7 +366,7 @@ int lxc_monitord_spawn(const char *lxcpath)
        DEBUG("Using pipe file descriptor %d for monitord.", pipefd[1]);
 
        execvp(args[0], args);
-       ERROR("Failed to exec lxc-monitord.");
+       SYSERROR("failed to exec lxc-monitord");
 
        exit(EXIT_FAILURE);
 }
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to