getty: tweak style, no code changes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2012-09-02 13:57:49 +02:00
parent 9c55143bbf
commit 41f7885f06

View 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"