mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-24 18:42:03 +00:00
fix bug setting autodef in config
Introduced in commit df2d4205
.
Reported-by: S.Çağlar Onur <caglar@10ur.org>
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
parent
710bde5e52
commit
b9fdb6928d
@ -2209,7 +2209,7 @@ void write_config(FILE *fout, struct lxc_conf *c)
|
||||
fprintf(fout, "lxc.seccomp = %s\n", c->seccomp);
|
||||
if (c->kmsg == 0)
|
||||
fprintf(fout, "lxc.kmsg = 0\n");
|
||||
if (c->autodev)
|
||||
if (c->autodev > 0)
|
||||
fprintf(fout, "lxc.autodev = 1\n");
|
||||
if (c->loglevel != LXC_LOG_PRIORITY_NOTSET)
|
||||
fprintf(fout, "lxc.loglevel = %s\n", lxc_log_priority_to_string(c->loglevel));
|
||||
|
Loading…
Reference in New Issue
Block a user