aboutsummaryrefslogtreecommitdiffstats
path: root/src/cerberus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cerberus.c')
-rw-r--r--src/cerberus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cerberus.c b/src/cerberus.c
index ca4cf48..2199d7b 100644
--- a/src/cerberus.c
+++ b/src/cerberus.c
@@ -169,8 +169,8 @@ int main(int argc, char** argv)
/* TODO login */
- /* Reset terminal ownership */
- chown_tty(0, 0, 0);
+ /* Reset terminal ownership and mode */
+ chown_tty(0, -1, 0);
return 0;
}