Commit 55b8c755 by Serge Hallyn Committed by GitHub

Merge pull request #1537 from brauner/2017-05-05/report_errno_on_monitor_startup_failure

monitor: report errno on exec() error
parents f5351e24 00cccc8b
......@@ -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);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment