From 34506361697643277042fc8d7294bc17a27d4e28 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 2 Aug 2001 05:02:46 +0000 Subject: Latest patch from vodz. Adds a check for divide by zero in the posix math suport, cleaner math syntax error checking, moves redundant signal string tables (from kill and ash) into libbb and provides a few cleanups elsewhere. --- miscutils/update.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'miscutils') diff --git a/miscutils/update.c b/miscutils/update.c index 603740e38..27a04ddee 100644 --- a/miscutils/update.c +++ b/miscutils/update.c @@ -69,9 +69,6 @@ extern int update_main(int argc, char **argv) if (daemon(0, 1) < 0) perror_msg_and_die("daemon"); - /* Become a proper daemon */ - setsid(); - chdir("/"); #ifdef OPEN_MAX for (pid = 0; pid < OPEN_MAX; pid++) close(pid); #else -- cgit v1.2.3