bin/xbps-remove: fix skipping executing orphans transaction

This commit is contained in:
Duncaen 2019-06-26 22:24:47 +02:00
parent cc1c984e9a
commit 7b728f5ac0

View File

@ -295,7 +295,7 @@ main(int argc, char **argv)
exit(rv); exit(rv);
} }
} }
if (missing == argc) { if (!orphans && missing == argc) {
goto out; goto out;
} }
if (orphans || (argc > optind)) { if (orphans || (argc > optind)) {