[lxc-devel] [lxc/lxc] d8208d: fix up lxc-usernsexec's exit status

GitHub noreply at github.com
Mon Jan 8 16:36:33 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: d8208db47785d93d8dcb96a83c0b015587a77448
      https://github.com/lxc/lxc/commit/d8208db47785d93d8dcb96a83c0b015587a77448
  Author: Tycho Andersen <tycho at tycho.ws>
  Date:   2018-01-08 (Mon, 08 Jan 2018)

  Changed paths:
    M src/lxc/tools/lxc_usernsexec.c

  Log Message:
  -----------
  fix up lxc-usernsexec's exit status

* exit(1) when there is an option parsing error
* exit(0) when the user explicitly asks for help
* exit(1) when the user specifies an invalid option

Signed-off-by: Tycho Andersen <tycho at tycho.ws>


  Commit: 6ddb17ff99eb4a591e24483bc9ce93ee0fe789c7
      https://github.com/lxc/lxc/commit/6ddb17ff99eb4a591e24483bc9ce93ee0fe789c7
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-01-08 (Mon, 08 Jan 2018)

  Changed paths:
    M src/lxc/tools/lxc_usernsexec.c

  Log Message:
  -----------
  Merge pull request #2078 from tych0/usernsexec-exit-status

fix up lxc-usernsexec's exit status


Compare: https://github.com/lxc/lxc/compare/9531b90aa206...6ddb17ff99eb


More information about the lxc-devel mailing list