From: Ned Ludd Date: Fri, 24 Jun 2005 03:47:57 +0000 (-0000) Subject: - remove extra/unneeded function call. testing svn X-Git-Tag: 1_1_0~928 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=778ee6da60ddbf249e8aa1d6c1aa05e5056a51c7;p=oweals%2Fbusybox.git - remove extra/unneeded function call. testing svn --- diff --git a/networking/fakeidentd.c b/networking/fakeidentd.c index d41177b07..3d714fd7e 100644 --- a/networking/fakeidentd.c +++ b/networking/fakeidentd.c @@ -136,19 +136,10 @@ static void inetbind(void) movefd(s, 0); } -static void delpidfile(void) +static void handlexitsigs(int signum) { - /* - * Usually nobody has no write/delete access to directory /var/run/ - * therefore if file cannot be deleted, it is truncated - */ if (unlink(PIDFILE) < 0) close(open(PIDFILE, O_WRONLY|O_CREAT|O_TRUNC, 0644)); -} - -static void handlexitsigs(int signum) -{ - delpidfile(); exit(0); }