From c0ba0fbb81f2bd4a6ed394bfb1dd69bc5799c6cc Mon Sep 17 00:00:00 2001 From: "Joseph C. Lehner" Date: Sun, 6 Jun 2021 17:40:00 +0200 Subject: [PATCH] Less spam --- ethsock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethsock.c b/ethsock.c index 580bdce..0e953fc 100644 --- a/ethsock.c +++ b/ethsock.c @@ -692,7 +692,7 @@ struct ethsock *ethsock_create(const char *intf, uint16_t protocol) err = systemf("nmcli device set ifname %s managed no", sock->intf); if (err) { printf("Warning: failed to temporarily disable NetworkManager\n"); - } else { + } else if (verbosity > 1) { printf("Temporarily disabling NetworkManager on interface.\n"); } }