]> git.proxmox.com Git - mirror_lxc.git/commit
usernsexec: init log fd
authorTycho Andersen <tycho@tycho.ws>
Mon, 12 Mar 2018 15:39:37 +0000 (09:39 -0600)
committerTycho Andersen <tycho@tycho.ws>
Mon, 12 Mar 2018 15:39:37 +0000 (09:39 -0600)
commit2d22b22dd4840e141916e64c697e0a43c7b93c8c
treee142fc4087ade8d3f762b82142374abce9c8f532
parentf392f4edf32247ef6a9506bb23697d58344ba507
usernsexec: init log fd

lxc-usernsexec uses some functions (e.g. lxc_map_ids()), which are part of
the lxc library and thus use the WARN etc. macros to emit log messages.
However, it doesn't initialize the log in any way, so these messages go
into the ether.

lxc-usernsexec currently has no log parameters, so let's just log these to
stderr. Someone can do something fancier later if they want.

Signed-off-by: Tycho Andersen <tycho@tycho.ws>
src/lxc/cmd/lxc_usernsexec.c