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:
@@ -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
|
||||
|
@@ -166,5 +166,5 @@ int main(int argc, char *argv[])
|
||||
|
||||
if (ret < 0)
|
||||
exit(EXIT_FAILURE);
|
||||
exit(EXIT_SUCCESS);
|
||||
exit(ret);
|
||||
}
|
||||
|
Reference in New Issue
Block a user