aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-11-22 04:55:05 +0100
committerMattias Andrée <maandree@operamail.com>2013-11-22 04:55:05 +0100
commit855ce0df572a562923ebea3d5e22f0f30fe98e4b (patch)
tree78694c027e0aca544ccf666df07aadbf3eb2ffb1
parentm (diff)
downloadlibpassphrase-855ce0df572a562923ebea3d5e22f0f30fe98e4b.tar.gz
libpassphrase-855ce0df572a562923ebea3d5e22f0f30fe98e4b.tar.bz2
libpassphrase-855ce0df572a562923ebea3d5e22f0f30fe98e4b.tar.xz
derp
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--src/cerberus.c2
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 */