From: Roy Marples Date: Sat, 22 Apr 2017 14:41:22 +0000 (+0100) Subject: Don't log anything when printing the pidfile. X-Git-Tag: v7.0.0-rc1~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29bd13f43c52fb9b38c9ea4bccd513b9d7e080d9;p=thirdparty%2Fdhcpcd.git Don't log anything when printing the pidfile. --- diff --git a/src/dhcpcd.c b/src/dhcpcd.c index 332e3ec3..bc79610e 100644 --- a/src/dhcpcd.c +++ b/src/dhcpcd.c @@ -1510,6 +1510,7 @@ main(int argc, char **argv) #endif case 'P': ctx.options |= DHCPCD_PRINT_PIDFILE; + logopts &= ~(LOGERR_LOG | LOGERR_ERR); break; case 'T': i = 1;