diff options
author | Mike Frysinger | 2006-03-23 02:07:41 +0000 |
---|---|---|
committer | Mike Frysinger | 2006-03-23 02:07:41 +0000 |
commit | e1d41b3102a34d92e61b265810306bb437c73ba0 (patch) | |
tree | ad181acd9fd68afac94204756035af5019540c31 /miscutils | |
parent | 948a09d6f288144744ebe281bc18c4bf1a9fac58 (diff) | |
download | busybox-e1d41b3102a34d92e61b265810306bb437c73ba0.zip busybox-e1d41b3102a34d92e61b265810306bb437c73ba0.tar.gz |
fixup style
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/setsid.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/miscutils/setsid.c b/miscutils/setsid.c index 39be546..80c719c 100644 --- a/miscutils/setsid.c +++ b/miscutils/setsid.c @@ -18,12 +18,10 @@ #include <stdlib.h> #include "busybox.h" -int -setsid_main(int argc, char *argv[]) { - - if (argc < 2) { +int setsid_main(int argc, char *argv[]) +{ + if (argc < 2) bb_show_usage(); - } if (getpgrp() == getpid()) { switch(fork()){ @@ -42,5 +40,4 @@ setsid_main(int argc, char *argv[]) { execvp(argv[1], argv + 1); bb_perror_msg_and_die("%s", argv[1]); - } |