diff options
| author | Roy Marples <roy@marples.name> | 2008-07-14 20:51:41 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-07-14 20:51:41 +0000 |
| commit | b7979d9e55a03f1eb3bc6d7de2e7fadde0b24011 (patch) | |
| tree | 9a1cf8c13df76c78422fe7515edcc7734b1fac29 /dhcpcd.c | |
| parent | 8709c115ea79f9adb54fadc564a88292da0933b5 (diff) | |
| download | dhcpcd-b7979d9e55a03f1eb3bc6d7de2e7fadde0b24011.tar.xz | |
If renewing an IPV4LL address, re-enter the probing state of just exiting.
Diffstat (limited to 'dhcpcd.c')
| -rw-r--r-- | dhcpcd.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -917,18 +917,15 @@ main(int argc, char **argv) logger(LOG_INFO, "sending signal %d to pid %d", sig, pid); - if (!pid || (i = kill(pid, sig))) + if (!pid || (i = kill(pid, sig))) { logger(sig == SIGALRM ? LOG_INFO : LOG_ERR, ""PACKAGE" not running"); - - if (pid != 0 && (sig != SIGALRM || i != 0)) unlink(options->pidfile); - + } if (i == 0) { retval = EXIT_SUCCESS; goto abort; } - if (sig != SIGALRM) goto abort; } |
