diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-16 00:05:37 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-16 00:05:37 +0400 |
commit | bb23c069191f18ed11b826371ed3571e214b41e3 (patch) | |
tree | 8a7afbb2ead270f08c3fa4741da0522418142787 /networking/udhcp | |
parent | 9f7b92a2e13b184b1d6f7d9fbddc133666224bcf (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.c | 2 |
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; } |