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:
parent
370fa624f5
commit
91c031f169
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user