xbps-remove: fix --dry-run for --clean-cache
`xbps-remove --clean-cache --dry-run` did not consider the --dry-run flag, this has been fixed.
This commit is contained in:
@ -262,7 +262,7 @@ main(int argc, char **argv)
|
||||
maxcols = get_maxcols();
|
||||
|
||||
if (clean_cache) {
|
||||
rv = clean_cachedir(&xh);
|
||||
rv = clean_cachedir(&xh, drun);
|
||||
if (!orphans || rv)
|
||||
exit(rv);;
|
||||
}
|
||||
|
Reference in New Issue
Block a user