[lxc-devel] [lxc/lxc] dfef27: tools: use correct exit code for lxc-stop

GitHub noreply at github.com
Sun Oct 30 18:26:55 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: dfef27a5a1d80a2d3e7483390728c060e304d14f
      https://github.com/lxc/lxc/commit/dfef27a5a1d80a2d3e7483390728c060e304d14f
  Author: Christian Brauner <christian.brauner at canonical.com>
  Date:   2016-10-30 (Sun, 30 Oct 2016)

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

  Log Message:
  -----------
  tools: use correct exit code for lxc-stop

When the container is already running our manpage promises to exit with 2.
Let's make it so.

Signed-off-by: Christian Brauner <christian.brauner at canonical.com>


  Commit: a99e57fe9bd9ece6f398704865519b8a045a4902
      https://github.com/lxc/lxc/commit/a99e57fe9bd9ece6f398704865519b8a045a4902
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2016-10-30 (Sun, 30 Oct 2016)

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

  Log Message:
  -----------
  Merge pull request #1264 from brauner/2016-10-30/fix_lxc_stop_exit_code

tools: use correct exit code for lxc-stop


Compare: https://github.com/lxc/lxc/compare/d93cd5478d2f...a99e57fe9bd9


More information about the lxc-devel mailing list