monitor: report errno on exec() error

parent f5351e24
......@@ -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