]> git.ipfire.org Git - thirdparty/lxc.git/commit
fix lxc_error_set_and_log to match the docs
authorTycho Andersen <tycho@tycho.ws>
Fri, 19 Jan 2018 03:20:08 +0000 (03:20 +0000)
committerTycho Andersen <tycho@tycho.ws>
Fri, 19 Jan 2018 03:20:48 +0000 (03:20 +0000)
commit19cfa02c4c7bd29cdf10462878d06d025fcc3d27
treee8c62d6e703086becd1e1d8abaf937e21eceacc2
parent3a9e949f6d4cad085d645b2efbc126cdbc48773a
fix lxc_error_set_and_log to match the docs

The documentation for this function says if the task was killed by a
signal, the return code will be 128+n, where n is the signal number. Let's
make that actually true.

(We'll use this behavior in later patches.)

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