]> git.proxmox.com Git - mirror_lxc.git/commit
remove redundant, too-early call to clearenv in api_start call.
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Tue, 19 Feb 2013 20:39:31 +0000 (14:39 -0600)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 19 Feb 2013 20:47:50 +0000 (15:47 -0500)
commit91e065ec331416b9d0941da86792bdbc8f10fadf
tree61ee76068143e1f13691a9b59ea8c4f5548fed75
parentdaaf41b36790bdaae855048e56ed090b17a77c97
remove redundant, too-early call to clearenv in api_start call.

Ok, took a look, what happened was the clearenv calls used to be
in lxc_start and lxccontainer and lxc_execute (do lxc_start() callers)
themselves.  I moved those into do_start(), but the calls in
lxccontainer.c were never removed.

They should simply be removed altogether.  Trivial patch follows.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/lxccontainer.c