Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Do not print "...will free..." message in quiet mode.
Dag-Erling Smørgrav committed 11 years ago
commit 5f83566cc61b1033c8745c268fea871ffc086881
parent 9b2b1dc5d60ef64d8fbc86d906c3884782134ff4
1 file changed +2 -1
modified src/clean.c
@@ -315,7 +315,8 @@ exec_clean(int argc, char **argv)
	humanize_number(size, sizeof(size), total, "B",
	    HN_AUTOSCALE, HN_IEC_PREFIXES);

-
	printf("The cleanup will free %s\n", size);
+
	if (!quiet)
+
		printf("The cleanup will free %s\n", size);
	if (!dry_run) {
			if (query_yesno(false,
			  "\nProceed with cleaning the cache? ")) {