28 lines
747 B
Diff
28 lines
747 B
Diff
diff -Naur a/client/dhclient.c b/client/dhclient.c
|
|
--- a/client/dhclient.c 2016-09-27 14:16:50.000000000 -0500
|
|
+++ b/client/dhclient.c 2016-11-08 13:24:08.964000000 -0600
|
|
@@ -540,7 +540,10 @@
|
|
|
|
if (e != 0 && e != EOF && oldpid) {
|
|
if (kill(oldpid, SIGTERM) == 0) {
|
|
- log_info("Killed old client process");
|
|
+ if (!quiet) {
|
|
+ log_info("Killed old client"
|
|
+ " process");
|
|
+ }
|
|
(void) unlink(path_dhclient_pid);
|
|
/*
|
|
* wait for the old process to
|
|
@@ -551,7 +554,10 @@
|
|
*/
|
|
sleep(1);
|
|
} else if (errno == ESRCH) {
|
|
- log_info("Removed stale PID file");
|
|
+ if (!quiet) {
|
|
+ log_info("Removed stale PID"
|
|
+ " file");
|
|
+ }
|
|
(void) unlink(path_dhclient_pid);
|
|
}
|
|
}
|