diff --git a/Shell/GlobalState.h b/Shell/GlobalState.h index 5860c98ed4..ede9c1990a 100644 --- a/Shell/GlobalState.h +++ b/Shell/GlobalState.h @@ -36,7 +36,6 @@ struct GlobalState { String home; char ttyname[32]; char hostname[32]; - pid_t sid; uid_t uid; struct termios termios; struct termios default_termios; diff --git a/Shell/main.cpp b/Shell/main.cpp index 4d0ae543e1..1f1bb44656 100644 --- a/Shell/main.cpp +++ b/Shell/main.cpp @@ -877,7 +877,6 @@ int main(int argc, char** argv) } g.uid = getuid(); - g.sid = setsid(); tcsetpgrp(0, getpgrp()); tcgetattr(0, &g.default_termios); g.termios = g.default_termios;