diff options
author | Bryan Drewery <bryan@shatow.net> | 2019-08-28 23:11:55 +0300 |
---|---|---|
committer | Bryan Drewery <bryan@shatow.net> | 2019-08-28 23:11:55 +0300 |
commit | 122329edcb34510929085c14d3359c8f7f78f128 (patch) | |
tree | 9220b062a355a398ff6c21c037a1c63639d39c98 /src | |
parent | 08099447afa118d0a3d30938a8fc53fed16cf7ef (diff) |
Fix inverted logic.
Issue #699
Diffstat (limited to 'src')
-rwxr-xr-x | src/share/poudriere/distclean.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/poudriere/distclean.sh b/src/share/poudriere/distclean.sh index e8881739..10732597 100755 --- a/src/share/poudriere/distclean.sh +++ b/src/share/poudriere/distclean.sh @@ -188,6 +188,6 @@ do_confirm_delete "${DISTFILES_LIST}.unexpected" "stale distfiles" \ if [ ${ret} -eq 2 ]; then exit 0 fi -if [ "${DRY_RUN}" -eq 1 ]; then +if [ "${DRY_RUN}" -eq 0 ]; then find ${DISTFILES_CACHE}/ -type d -empty -delete fi |