Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
autoremove: respect -q if nothing has to be done
Baptiste Daroussin committed 4 years ago
commit 7569958837ac00bd02d47881a615ccea22f8198c
parent f499ed757c5415fcd7c2a82c8a42a79f221937fc
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;
	}