diff options
| author | Roy Marples <roy@marples.name> | 2017-04-22 15:41:22 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2017-04-22 15:41:22 +0100 |
| commit | 9b04fabf77cdc6daff576c83d53c5833738d63d3 (patch) | |
| tree | 237d6dd3c4c40b4a3e82ded9f27d705b8112f308 /src/dhcpcd.c | |
| parent | 24abc42d92cfbd3e4681d54c8ad62af6dc7adc92 (diff) | |
| download | dhcpcd-9b04fabf77cdc6daff576c83d53c5833738d63d3.tar.xz | |
Don't log anything when printing the pidfile.
Diffstat (limited to 'src/dhcpcd.c')
| -rw-r--r-- | src/dhcpcd.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |
