diff options
author | Ned Ludd | 2005-06-24 03:47:57 +0000 |
---|---|---|
committer | Ned Ludd | 2005-06-24 03:47:57 +0000 |
commit | 778ee6da60ddbf249e8aa1d6c1aa05e5056a51c7 (patch) | |
tree | d73c518d1dca39f548e94ab553b0a1a68e6429ed | |
parent | 5043ea19867a00a4d663442e1238700191291b30 (diff) | |
download | busybox-778ee6da60ddbf249e8aa1d6c1aa05e5056a51c7.zip busybox-778ee6da60ddbf249e8aa1d6c1aa05e5056a51c7.tar.gz |
- remove extra/unneeded function call. testing svn
-rw-r--r-- | networking/fakeidentd.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/networking/fakeidentd.c b/networking/fakeidentd.c index d41177b..3d714fd 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); } |