[lxc-devel] [lxc/lxc] 3139ae: Fix return value of userns_exec_1

GitHub noreply at github.com
Tue Jan 14 23:36:02 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 3139aead4d5e91147ae6dfc1ac3ef516bcde7222
      https://github.com/lxc/lxc/commit/3139aead4d5e91147ae6dfc1ac3ef516bcde7222
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-01-14 (Tue, 14 Jan 2014)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  Fix return value of userns_exec_1

Instead of always returning -1 and call SYSERROR when the child returns
non-zero. Have userns_exec_1 always return the return value from the
function it's calling and let the caller do the error handling (as is
already done by its only caller).

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>




More information about the lxc-devel mailing list