From 5e49998e520c5078631edb1a8af1495ccf891e29 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Wed, 5 Feb 2020 21:58:06 -0700 Subject: fix annex-review-unused exit logic Signed-off-by: Sean Whitton --- bin/annex-review-unused | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/annex-review-unused b/bin/annex-review-unused index ce43641..68c7aef 100755 --- a/bin/annex-review-unused +++ b/bin/annex-review-unused @@ -199,4 +199,4 @@ if (@to_drop) { # exit value represents whether or not there are any unused files left # after this run. note that in --just-print mode, @to_drop will be # empty, so we'll always exit non-zero if there are any unused files -exit @to_drop == @unused_files; +exit(@to_drop != @unused_files); -- cgit v1.2.3