aboutsummaryrefslogtreecommitdiff
path: root/libbb/vfork_daemon_rexec.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-03-15 08:29:22 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-03-15 08:29:22 +0000
commitb16674f3c1a961e0b5d6a57745f5f749d95c641e (patch)
tree4c6d2217f4d8306c59cf1096f8664e1cfd167213 /libbb/vfork_daemon_rexec.c
parente7135df4a650f9197b633784472f45602524855b (diff)
downloadbusybox-w32-b16674f3c1a961e0b5d6a57745f5f749d95c641e.tar.gz
busybox-w32-b16674f3c1a961e0b5d6a57745f5f749d95c641e.tar.bz2
busybox-w32-b16674f3c1a961e0b5d6a57745f5f749d95c641e.zip
Remove trailing whitespace. Update copyright to include 2004.
git-svn-id: svn://busybox.net/trunk/busybox@8630 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb/vfork_daemon_rexec.c')
-rw-r--r--libbb/vfork_daemon_rexec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libbb/vfork_daemon_rexec.c b/libbb/vfork_daemon_rexec.c
index 2fd70ba1a..0601121ad 100644
--- a/libbb/vfork_daemon_rexec.c
+++ b/libbb/vfork_daemon_rexec.c
@@ -40,9 +40,9 @@ void vfork_daemon_rexec(int nochdir, int noclose,
40 int fd; 40 int fd;
41 char **vfork_args; 41 char **vfork_args;
42 int a = 0; 42 int a = 0;
43 43
44 setsid(); 44 setsid();
45 45
46 if (!nochdir) 46 if (!nochdir)
47 chdir("/"); 47 chdir("/");
48 48
@@ -73,6 +73,6 @@ void vfork_daemon_rexec(int nochdir, int noclose,
73 bb_perror_msg_and_die("vfork"); 73 bb_perror_msg_and_die("vfork");
74 default: /* parent */ 74 default: /* parent */
75 exit(0); 75 exit(0);
76 } 76 }
77} 77}
78#endif /* uClinux */ 78#endif /* uClinux */