]> git.proxmox.com Git - mirror_lxc.git/commitdiff
monitor: report errno on exec() error
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 5 May 2017 12:37:27 +0000 (14:37 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Fri, 5 May 2017 12:37:27 +0000 (14:37 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/monitor.c

index 3031f2fc79928a8d96871653fff419be86dd1e8f..410a0f45ceadfd32c03e8549a12a535adeabc448 100644 (file)
@@ -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);
 }