From ef7cf27c98761febcef3100d40b7e58f64aba570 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 20 Nov 2013 01:49:25 +0100 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/cerberus.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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(); -- cgit v1.2.3-70-g09d2