From 00cccc8bd23ae08a197046cd5a8b81ed5b94e8ba Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Fri, 5 May 2017 14:37:27 +0200 Subject: [PATCH] monitor: report errno on exec() error Signed-off-by: Christian Brauner --- 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 3031f2fc7..410a0f45c 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); } -- 2.39.5