aboutsummaryrefslogtreecommitdiff
path: root/libbb/vfork_daemon_rexec.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
committerEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
commitc7bda1ce659294d6e22c06e087f6f265983c7578 (patch)
tree4c6d2217f4d8306c59cf1096f8664e1cfd167213 /libbb/vfork_daemon_rexec.c
parent8854004b41065b3d081af7f3df13a100b0c8bfbe (diff)
downloadbusybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz
busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.bz2
busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.zip
Remove trailing whitespace. Update copyright to include 2004.
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 */