fixup style
authorMike Frysinger <vapier@gentoo.org>
Thu, 23 Mar 2006 02:07:41 +0000 (02:07 -0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 23 Mar 2006 02:07:41 +0000 (02:07 -0000)
miscutils/setsid.c

index 39be54621c1ae1adc9834c46409067836055e6dd..80c719ca75c46a7e7d3350daee7236327c765d45 100644 (file)
 #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]);
-
 }