diff options
| author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-08-02 05:02:46 +0000 |
|---|---|---|
| committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-08-02 05:02:46 +0000 |
| commit | f4eebef50a14b8f804aed9a13f6437c6550b348e (patch) | |
| tree | bf2c45a12020be4e0a37547abb50c40c0074e8ec /miscutils | |
| parent | dcfdcb7f829849a4b6d14b162cfab8e7c381fd2f (diff) | |
| download | busybox-w32-f4eebef50a14b8f804aed9a13f6437c6550b348e.tar.gz busybox-w32-f4eebef50a14b8f804aed9a13f6437c6550b348e.tar.bz2 busybox-w32-f4eebef50a14b8f804aed9a13f6437c6550b348e.zip | |
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.
git-svn-id: svn://busybox.net/trunk/busybox@3181 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'miscutils')
| -rw-r--r-- | miscutils/update.c | 3 |
1 files changed, 0 insertions, 3 deletions
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) | |||
| 69 | if (daemon(0, 1) < 0) | 69 | if (daemon(0, 1) < 0) |
| 70 | perror_msg_and_die("daemon"); | 70 | perror_msg_and_die("daemon"); |
| 71 | 71 | ||
| 72 | /* Become a proper daemon */ | ||
| 73 | setsid(); | ||
| 74 | chdir("/"); | ||
| 75 | #ifdef OPEN_MAX | 72 | #ifdef OPEN_MAX |
| 76 | for (pid = 0; pid < OPEN_MAX; pid++) close(pid); | 73 | for (pid = 0; pid < OPEN_MAX; pid++) close(pid); |
| 77 | #else | 74 | #else |
