2
0
mirror of git://github.com/lxc/lxc synced 2025-08-31 07:19:36 +00:00

Merge pull request #1432 from brauner/2017-02-15/fix_lxc_execute_return_code

tools: exit with return code of lxc_execute()
This commit is contained in:
Stéphane Graber
2017-03-23 17:49:56 -04:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -290,7 +290,7 @@ init_lxc_static_SOURCES += ../include/getline.c
endif
endif
init_lxc_static_LDFLAGS = -static
init_lxc_static_LDFLAGS = -all-static
init_lxc_static_LDADD = @CAP_LIBS@
init_lxc_static_CFLAGS = $(AM_CFLAGS) -DNO_LXC_CONF
endif

View File

@@ -166,5 +166,5 @@ int main(int argc, char *argv[])
if (ret < 0)
exit(EXIT_FAILURE);
exit(EXIT_SUCCESS);
exit(ret);
}