summaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
authorDenys Vlasenko2012-09-02 13:57:49 +0200
committerDenys Vlasenko2012-09-02 13:57:49 +0200
commit41f7885f06612edcd525782f7ce3e75bd9a0d787 (patch)
treed48fdb6493e63b70006a446f2bdd8772a534a7f2 /loginutils
parent9c55143bbf4ce24bef093301e46aab15b4a71d69 (diff)
downloadbusybox-41f7885f06612edcd525782f7ce3e75bd9a0d787.zip
busybox-41f7885f06612edcd525782f7ce3e75bd9a0d787.tar.gz
getty: tweak style, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/getty.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/loginutils/getty.c b/loginutils/getty.c
index f9b8bac..e5d13be 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"