From 855ce0df572a562923ebea3d5e22f0f30fe98e4b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 22 Nov 2013 04:55:05 +0100 Subject: derp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/cerberus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/cerberus.c b/src/cerberus.c index ece4825..94dc183 100644 --- a/src/cerberus.c +++ b/src/cerberus.c @@ -265,7 +265,7 @@ void do_login(int argc, char** argv) sleep(ERROR_SLEEP); _exit(1); } - else + else if (child_pid) return; /* Do not go beyond this in the parent */ /* In case the shell does not do this */ -- cgit v1.2.3-70-g09d2