From: Frantisek Sumsal Date: Sun, 26 Jun 2022 19:00:43 +0000 (+0200) Subject: test: drop unnecessary `|| :` X-Git-Tag: v252-rc1~769^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=53008d0714ab87fe71a7f083eef560a1713a91f4;p=thirdparty%2Fsystemd.git test: drop unnecessary `|| :` since we use `set +e` in the cleanup handler. --- 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 }