diff options
author | Denis Vlasenko | 2007-08-15 20:05:37 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-08-15 20:05:37 +0000 |
commit | bb23c069191f18ed11b826371ed3571e214b41e3 (patch) | |
tree | 8a7afbb2ead270f08c3fa4741da0522418142787 /networking/udhcp/dhcpc.c | |
parent | 9f7b92a2e13b184b1d6f7d9fbddc133666224bcf (diff) | |
download | busybox-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/dhcpc.c')
-rw-r--r-- | networking/udhcp/dhcpc.c | 2 |
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; } |