From 280a64e537341fdf02a1692b42fe4d539de89442 Mon Sep 17 00:00:00 2001 From: platinum4 Date: Mon, 9 Jun 2014 10:03:58 -0500 Subject: [PATCH] Squelch "Network diff set" unless --more-notices space " " --- sgminer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sgminer.c b/sgminer.c index fa39aa42..71c46eef 100644 --- a/sgminer.c +++ b/sgminer.c @@ -4129,7 +4129,8 @@ static void set_blockdiff(const struct work *work) if (unlikely(current_diff != ddiff)) { suffix_string(ddiff, block_diff, sizeof(block_diff), 0); current_diff = ddiff; - applog(LOG_NOTICE, "Network diff set to %s", block_diff); + if (opt_morenotices) + applog(LOG_NOTICE, "Network diff set to %s", block_diff); } }