summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/kgit-meta2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/kgit-meta b/tools/kgit-meta
index 59715db..7beddc5 100755
--- a/tools/kgit-meta
+++ b/tools/kgit-meta
@@ -676,7 +676,7 @@ do_pending_patches()
# if we aren't doing a treegen, then we can bail out early if our
# current branch isn't the leaf node/final branch
- if [ -z "$treegen" ] && [ $branch_count != $total_branches ]; then
+ if [ -z "$treegen" -a "$branch_count" != "$total_branches" ]; then
return
fi