diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2020-02-05 21:58:06 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2020-02-05 22:17:46 -0700 |
commit | 5e49998e520c5078631edb1a8af1495ccf891e29 (patch) | |
tree | bbbf3fae6dd4a3ff7847623a1ed4c51d92d9c32d | |
parent | 1777ff2486e9f7d45cfedc0f335c8d628f5b0912 (diff) | |
download | p5-Git-Annex-5e49998e520c5078631edb1a8af1495ccf891e29.tar.gz |
fix annex-review-unused exit logic
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rwxr-xr-x | bin/annex-review-unused | 2 |
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); |