projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
udhcpc: fix a problem with binary-encoded options #2
[oweals/busybox.git]
/
loginutils
/
getty.c
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"