lxc / go-lxc

Go bindings for liblxc
https://linuxcontainers.org/lxc
Other
431 stars 76 forks source link

incorrect status code from runCommandStatus #102

Closed s3rj1k closed 6 years ago

s3rj1k commented 6 years ago

runCommandStatus should return correct status codes (use of WEXITSTATUS macro) as lxc-execute does in https://github.com/lxc/lxc/blob/master/src/lxc/tools/lxc_execute.c#L239

101