summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
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