summaryrefslogtreecommitdiffstats
path: root/dhcpcd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-08-14 16:00:37 +0000
committerRoy Marples <roy@marples.name>2008-08-14 16:00:37 +0000
commit50b9957e82beba942dffd8574fe937597ddb1fe6 (patch)
treeb4a17c8a580d1f6fe11996337f0dc51d08d32010 /dhcpcd.c
parent205be441f3dff70fa9098f84110b85a760b429fd (diff)
downloaddhcpcd-50b9957e82beba942dffd8574fe937597ddb1fe6.tar.xz
Don't warn about dhcpcd not running when using --renew.
Diffstat (limited to 'dhcpcd.c')
-rw-r--r--dhcpcd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcpcd.c b/dhcpcd.c
index c559ce58..2f345ef7 100644
--- a/dhcpcd.c
+++ b/dhcpcd.c
@@ -864,8 +864,8 @@ main(int argc, char **argv)
sig, pid);
if (!pid || (i = kill(pid, sig))) {
- logger(sig == SIGALRM ? LOG_INFO : LOG_ERR,
- ""PACKAGE" not running");
+ if (sig != SIGALRM)
+ logger(LOG_ERR, ""PACKAGE" not running");
unlink(options->pidfile);
}
if (i == 0) {