projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c55143
)
getty: tweak style, no code changes
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sun, 2 Sep 2012 11:57:49 +0000
(13:57 +0200)
committer
Denys 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
patch
|
blob
|
history
diff --git
a/loginutils/getty.c
b/loginutils/getty.c
index f9b8bac44413e4ee87795b77f4c238e66db4ecbc..e5d13bed6b8161d8822edd3e260fb99cff2b9ee8 100644
(file)
--- 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"