Commit b6ac57f9 by Robert Vogelgesang Committed by Stéphane Graber

Move lxc-monitord.log out of /var/lib/lxc/

Place log file into LOGPATH instead of LXCPATH (but still use the given lxcpath if the latter differs from LXCPATH). Signed-off-by: 's avatarRobert Vogelgesang <vogel@users.sourceforge.net> Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent be1d88e6
......@@ -360,7 +360,7 @@ int main(int argc, char *argv[])
}
ret = snprintf(logpath, sizeof(logpath), "%s/lxc-monitord.log",
lxcpath);
(strcmp(LXCPATH, lxcpath) ? lxcpath : LOGPATH ) );
if (ret < 0 || ret >= sizeof(logpath))
return 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