Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-08-16 00:05:37 +0400
committerDenis Vlasenko <vda.linux@googlemail.com>2007-08-16 00:05:37 +0400
commitbb23c069191f18ed11b826371ed3571e214b41e3 (patch)
tree8a7afbb2ead270f08c3fa4741da0522418142787 /networking/udhcp
parent9f7b92a2e13b184b1d6f7d9fbddc133666224bcf (diff)
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 7cb1dfe5d..7d38742b9 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;
}