testsuite-04: remove unnecessary conditional

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2023-04-24 10:06:59 +02:00
parent f65c2f5214
commit a1e5bd2066
+1 -5
View File
@@ -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