getty: tweak style, no code changes
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 2 Sep 2012 11:57:49 +0000 (13:57 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 2 Sep 2012 11:57:49 +0000 (13:57 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
loginutils/getty.c

index f9b8bac44413e4ee87795b77f4c238e66db4ecbc..e5d13bed6b8161d8822edd3e260fb99cff2b9ee8 100644 (file)
@@ -548,8 +548,7 @@ int getty_main(int argc UNUSED_PARAM, char **argv)
                 * a session leader - which is quite possible for getty!
                 */
                pid = getpid();
-               if (getsid(0) != pid)
-               {
+               if (getsid(0) != pid) {
                        //for debugging:
                        //bb_perror_msg_and_die("setsid failed:"
                        //      " pid %d ppid %d"