mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-13 23:52:30 +00:00
execute: pass logfile to lxc-init
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
6b7f85cbcd
commit
8f98ac7b0f
@ -77,6 +77,11 @@ static int execute_start(struct lxc_handler *handler, void* data)
|
||||
argv[i++] = (char *)lxc_log_priority_to_string(lxc_log_get_level());
|
||||
}
|
||||
|
||||
if (handler->conf->logfile) {
|
||||
argv[i++] = "-o";
|
||||
argv[i++] = (char *)handler->conf->logfile;
|
||||
}
|
||||
|
||||
if (my_args->quiet)
|
||||
argv[i++] = "--quiet";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user