aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-11-20 01:49:25 +0100
committerMattias Andrée <maandree@operamail.com>2013-11-20 01:49:25 +0100
commitef7cf27c98761febcef3100d40b7e58f64aba570 (patch)
treee50b8115dc1e72e82cb53bac45e78f5e95c18765 /src
parentbeginning of pam use (diff)
downloadlibpassphrase-ef7cf27c98761febcef3100d40b7e58f64aba570.tar.gz
libpassphrase-ef7cf27c98761febcef3100d40b7e58f64aba570.tar.bz2
libpassphrase-ef7cf27c98761febcef3100d40b7e58f64aba570.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r--src/cerberus.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cerberus.c b/src/cerberus.c
index 26e6b3f..f8c0826 100644
--- a/src/cerberus.c
+++ b/src/cerberus.c
@@ -71,6 +71,7 @@ void do_login(int argc, char** argv)
char* passphrase = NULL;
char preserve_env = 0;
char skip_auth = 0;
+ int ret;
#ifdef USE_TTY_GROUP
struct group* group;
#endif
@@ -243,8 +244,6 @@ void do_login(int argc, char** argv)
else
return; /* Do not go beyond this in the parent */
- int ret;
-
/* In case the shell does not do this */
setsid();