From: Philip Withnall Date: Mon, 22 Jun 2026 19:22:16 +0000 (+0100) Subject: test: Remove a redundant exit call X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f6cd12613788cb28363fc683957e9ce6583e0e39;p=thirdparty%2Fsystemd.git test: Remove a redundant exit call `[[ blah ]] || exit 1` is equivalent to `[[ blah ]]`. Fixes: b0ca987cd96 --- diff --git a/test/units/TEST-72-SYSUPDATE.sh b/test/units/TEST-72-SYSUPDATE.sh index abca295d7d0..8e0c464c790 100755 --- a/test/units/TEST-72-SYSUPDATE.sh +++ b/test/units/TEST-72-SYSUPDATE.sh @@ -249,7 +249,7 @@ verify_version_current() { verify_object_fields() { local updatectl_output="${1:?}" - [[ "${updatectl_output}" != *"Unrecognized object field"* ]] || exit 1 + [[ "${updatectl_output}" != *"Unrecognized object field"* ]] } for sector_size in "${SECTOR_SIZES[@]}"; do