diff --git a/bin/xbps-remove/main.c b/bin/xbps-remove/main.c index 502a0c9f..c5a4cc4c 100644 --- a/bin/xbps-remove/main.c +++ b/bin/xbps-remove/main.c @@ -380,10 +380,12 @@ main(int argc, char **argv) if (orphans) { if ((rv = xbps_transaction_autoremove_pkgs(&xh)) != 0) { if (rv != ENOENT) { - fprintf(stderr, "Failed to remove package " + fprintf(stderr, "Failed to queue package " "orphans: %s\n", strerror(rv)); goto out; } + rv = 0; + goto out; } }