1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-08 08:58:27 +03:00

test: drop unnecessary return

Return code of the EXIT trap handler is ignored in bash.
This commit is contained in:
Frantisek Sumsal 2023-03-25 12:17:11 +01:00
parent 370fa624f5
commit 91c031f169

View File

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