summaryrefslogtreecommitdiff
path: root/networking/udhcp
diff options
context:
space:
mode:
authorDenis Vlasenko2007-08-15 20:05:37 +0000
committerDenis Vlasenko2007-08-15 20:05:37 +0000
commitbb23c069191f18ed11b826371ed3571e214b41e3 (patch)
tree8a7afbb2ead270f08c3fa4741da0522418142787 /networking/udhcp
parent9f7b92a2e13b184b1d6f7d9fbddc133666224bcf (diff)
downloadbusybox-bb23c069191f18ed11b826371ed3571e214b41e3.zip
busybox-bb23c069191f18ed11b826371ed3571e214b41e3.tar.gz
if pidfile turned out to be !regular file, do not unlink it.
It's most probably the /dev/null.
Diffstat (limited to 'networking/udhcp')
-rw-r--r--networking/udhcp/dhcpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c
index 7cb1dfe..7d38742 100644
--- a/networking/udhcp/dhcpc.c
+++ b/networking/udhcp/dhcpc.c
@@ -546,7 +546,7 @@ int udhcpc_main(int argc, char **argv)
ret0:
retval = 0;
ret:
- if (client_config.pidfile)
+ /*if (client_config.pidfile) - remove_pidfile has it's own check */
remove_pidfile(client_config.pidfile);
return retval;
}