From: Christian Brauner Date: Fri, 5 May 2017 12:37:27 +0000 (+0200) Subject: monitor: report errno on exec() error X-Git-Tag: lxc-2.1.0~143^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1537%2Fhead;p=thirdparty%2Flxc.git monitor: report errno on exec() error Signed-off-by: Christian Brauner --- 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); }