summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-02-05 21:58:06 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-02-05 22:17:46 -0700
commit5e49998e520c5078631edb1a8af1495ccf891e29 (patch)
treebbbf3fae6dd4a3ff7847623a1ed4c51d92d9c32d
parent1777ff2486e9f7d45cfedc0f335c8d628f5b0912 (diff)
downloadp5-Git-Annex-5e49998e520c5078631edb1a8af1495ccf891e29.tar.gz
fix annex-review-unused exit logic
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-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);