aboutsummaryrefslogtreecommitdiffstats
path: root/src/cerberus.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-11-18 17:50:44 +0100
committerMattias Andrée <maandree@operamail.com>2013-11-18 17:50:44 +0100
commit6155eb0850b4c91a5e9a80dc230cb1d12d5c4f8c (patch)
tree6f0bad22560efd3f1ed0bb4f26f659c06a64c51d /src/cerberus.c
parentm + take ownership of and chmod /dev/vcs and /dev/vcsa (diff)
downloadlibpassphrase-6155eb0850b4c91a5e9a80dc230cb1d12d5c4f8c.tar.gz
libpassphrase-6155eb0850b4c91a5e9a80dc230cb1d12d5c4f8c.tar.bz2
libpassphrase-6155eb0850b4c91a5e9a80dc230cb1d12d5c4f8c.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
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;
}