From 41f7885f06612edcd525782f7ce3e75bd9a0d787 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 2 Sep 2012 13:57:49 +0200 Subject: [PATCH] getty: tweak style, no code changes Signed-off-by: Denys Vlasenko --- loginutils/getty.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/loginutils/getty.c b/loginutils/getty.c index f9b8bac44..e5d13bed6 100644 --- a/loginutils/getty.c +++ b/loginutils/getty.c @@ -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" -- 2.25.1