Closed tych0 closed 6 years ago
As it stands right now, there is no way to figure out what the exit code of a container spawned by StartExecute() was. liblxc stores the value in c->error_num, so let's make that accessible.
Signed-off-by: Tycho Andersen tycho@tycho.ws
Now that we have an error_num worth something, let's expose it via go-lxc too :)
As it stands right now, there is no way to figure out what the exit code of a container spawned by StartExecute() was. liblxc stores the value in c->error_num, so let's make that accessible.
Signed-off-by: Tycho Andersen tycho@tycho.ws