Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
autoremove: respect -q if nothing has to be done
Baptiste Daroussin committed 4 years ago
commit 7569958837ac00bd02d47881a615ccea22f8198c
parent f499ed7
1 file changed +2 -1
modified src/autoremove.c
@@ -131,7 +131,8 @@ exec_autoremove(int argc, char **argv)
	}

	if ((nbactions = pkg_jobs_count(jobs)) == 0) {
-
		printf("Nothing to do.\n");
+
		if (!quiet)
+
			printf("Nothing to do.\n");
		goto cleanup;
	}