Commit b336d724 by Serge Hallyn

ignore ability to init /lxc-monitord.log

We may long-term want to instead decide on a convention under /var/log, but for now just ignore it. This will only happen if lxcpath is read-only. Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com>
parent b45c7011
...@@ -342,7 +342,7 @@ int main(int argc, char *argv[]) ...@@ -342,7 +342,7 @@ int main(int argc, char *argv[])
ret = lxc_log_init(NULL, logpath, "NOTICE", "lxc-monitord", 0, lxcpath); ret = lxc_log_init(NULL, logpath, "NOTICE", "lxc-monitord", 0, lxcpath);
if (ret) if (ret)
return ret; INFO("Failed to open log file %s, log will be lost", lxcpath);
pipefd = atoi(argv[2]); pipefd = atoi(argv[2]);
......
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