From: Zbigniew Jędrzejewski-Szmek Date: Tue, 4 Apr 2023 09:01:33 +0000 (+0200) Subject: testsuite-04: remove unnecessary conditional X-Git-Tag: v254-rc1~645^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a1e5bd20665be7e0c6c56522b85c13ab6f7ebaa9;p=thirdparty%2Fsystemd.git testsuite-04: remove unnecessary conditional --- diff --git a/test/units/testsuite-04.sh b/test/units/testsuite-04.sh index e3268b389e6..4893141fed9 100755 --- a/test/units/testsuite-04.sh +++ b/test/units/testsuite-04.sh @@ -212,11 +212,7 @@ function is_xattr_supported() { END=$(date '+%Y-%m-%d %T.%6N') systemctl stop text_xattr - if journalctl -q -u "text_xattr" -S "$START" -U "$END" --grep "Failed to set 'user.journald_log_filter_patterns' xattr.*not supported$"; then - return 1 - fi - - return 0 + ! journalctl -q -u "text_xattr" -S "$START" -U "$END" --grep "Failed to set 'user.journald_log_filter_patterns' xattr.*not supported$" } if is_xattr_supported; then