From: Stephen Rothwell Date: Wed, 13 Aug 2025 06:41:40 +0000 (+1000) Subject: check_dups: fix a shellcheck warning X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=126ad28f8fdb96baa3cc15e27125e54209f10edb;p=next-scripts check_dups: fix a shellcheck warning --- 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