aboutsummaryrefslogtreecommitdiffstats
path: root/src/cerberus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cerberus.c')
-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();