Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Do not print "...will free..." message in quiet mode.
Dag-Erling Smørgrav committed 10 years ago
commit 5f83566cc61b1033c8745c268fea871ffc086881
parent 9b2b1dc
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? ")) {