Unverified Commit 20b3cceb by Christian Brauner Committed by Stéphane Graber

monitor: report errno on exec() error

parent 052e7c70
......@@ -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