From 126ad28f8fdb96baa3cc15e27125e54209f10edb Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Wed, 13 Aug 2025 16:41:40 +1000 Subject: [PATCH] check_dups: fix a shellcheck warning --- check_dups.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_dups.sh b/check_dups.sh index ac1cb35..768d459 100644 --- a/check_dups.sh +++ b/check_dups.sh @@ -26,7 +26,7 @@ check_dups() dups=$(git cherry "$base" "$sha" | sed -n 's/^- //p' | xargs -r -n 1 "$tools_dir"/clog | sort) - if ! [ -z "$dups" ]; then + if [ -n "$dups" ]; then for o in $(get_branches "$name"); do ol="$top_dir/duplicates/linus/$o" if [ -f "$ol" ]; then -- 2.47.3