diff options
-rw-r--r-- | src/cerberus.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |