From: Frantisek Sumsal Date: Sat, 25 Mar 2023 11:17:11 +0000 (+0100) Subject: test: drop unnecessary return X-Git-Tag: v254-rc1~923^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F26983%2Fhead;p=thirdparty%2Fsystemd.git test: drop unnecessary return Return code of the EXIT trap handler is ignored in bash. --- diff --git a/test/units/testsuite-74.machinectl.sh b/test/units/testsuite-74.machinectl.sh index 119c9bdc027..3d8d07c87da 100755 --- a/test/units/testsuite-74.machinectl.sh +++ b/test/units/testsuite-74.machinectl.sh @@ -11,8 +11,6 @@ at_exit() { if [[ -v NSPAWN_NAME && -e "/var/lib/machines/$NSPAWN_NAME" ]]; then rm -fvr "/var/lib/machines/$NSPAWN_NAME" "/etc/systemd/nspawn/$NSPAWN_NAME" "new" fi - - return 0 } trap at_exit EXIT