From 53008d0714ab87fe71a7f083eef560a1713a91f4 Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Sun, 26 Jun 2022 21:00:43 +0200 Subject: [PATCH] test: drop unnecessary `|| :` since we use `set +e` in the cleanup handler. --- test/units/testsuite-21.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/units/testsuite-21.sh b/test/units/testsuite-21.sh index 71586883623..d931e631678 100755 --- a/test/units/testsuite-21.sh +++ b/test/units/testsuite-21.sh @@ -15,7 +15,7 @@ at_exit() { # from the queue if [[ $SHUTDOWN_AT_EXIT -ne 0 ]] && ! systemctl poweroff; then # PID1 is down let's try to save the journal - journalctl --sync || : # journal can be down as well so let's ignore exit codes here + journalctl --sync # journal can be down as well so let's ignore exit codes here systemctl -ff poweroff # sync() and reboot(RB_POWER_OFF) fi } -- 2.47.3