summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMarco Trevisan (TreviƱo) <mail@3v1n0.net>2019-09-30 19:46:36 +0200
committerThomas Haller <thaller@redhat.com>2019-10-02 09:11:28 +0200
commit6a58c55ca44afb00dd86fd41467a78680ec550a8 (patch)
tree6539657911717faf06413dfbc6a7dcc9e0af077f /tools
parent073eda68fcfda777fb5ec93c41e5babe21ce7be1 (diff)
downloadNetworkManager-6a58c55ca44afb00dd86fd41467a78680ec550a8.tar.gz
run-nm-test: Just use exec instead of running and exiting
Diffstat (limited to 'tools')
-rwxr-xr-xtools/run-nm-test.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/run-nm-test.sh b/tools/run-nm-test.sh
index 9841065921..80503bcce5 100755
--- a/tools/run-nm-test.sh
+++ b/tools/run-nm-test.sh
@@ -231,8 +231,7 @@ fi
if ! _is_true "$NMTST_USE_VALGRIND" 0; then
export NM_TEST_UNDER_VALGRIND=0
"${NMTST_DBUS_RUN_SESSION[@]}" \
- "$TEST" "$@"
- exit $?
+ exec "$TEST" "$@"
fi
if [[ -z "${NMTST_VALGRIND}" ]]; then