summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/annex-review-unused2
1 files changed, 1 insertions, 1 deletions
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);