[lxc-devel] [lxc/lxc] a7440c: lxc_start: return 1 not -1 on error

GitHub noreply at github.com
Mon Apr 7 15:22:20 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: a7440c15c11402beb2d0c3d233af7fe20bd9469c
      https://github.com/lxc/lxc/commit/a7440c15c11402beb2d0c3d233af7fe20bd9469c
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-04-07 (Mon, 07 Apr 2014)

  Changed paths:
    M src/lxc/lxc_start.c

  Log Message:
  -----------
  lxc_start: return 1 not -1 on error

So that exit status doesn't show up as 255.

Reported-by: Andrey Khozov <avkhozov at googlemail.com>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>




More information about the lxc-devel mailing list