run-nm-test: Just use exec instead of running and exiting

This commit is contained in:
Marco Trevisan (Treviño)
2019-09-30 19:46:36 +02:00
committed by Thomas Haller
parent 073eda68fc
commit 6a58c55ca4

View File

@@ -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