mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-07 18:56:40 +00:00
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: Serge Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
parent
b45c701178
commit
b336d7246a
@ -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]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user