diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-09-22 15:31:58 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-09-22 15:31:58 +0200 |
commit | 73c8b6787c67b9c3b5472559be803e465e50c4b6 (patch) | |
tree | a76c582d78df62d40142c2fd3f277c22d35a5277 /src/mint/taler-mint-httpd.c | |
parent | b022232a59f6b2acd1d183625089dba2b1ee5834 (diff) |
-do unload plugin, use _exit() after execvp() failure
Diffstat (limited to 'src/mint/taler-mint-httpd.c')
-rw-r--r-- | src/mint/taler-mint-httpd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mint/taler-mint-httpd.c b/src/mint/taler-mint-httpd.c index 328fa0357..09b2439bb 100644 --- a/src/mint/taler-mint-httpd.c +++ b/src/mint/taler-mint-httpd.c @@ -561,7 +561,7 @@ run_fake_client () "Failed to run both `nc' and `ncat': %s\n", strerror (errno)); } - exit (0); + _exit (1); } /* parent process */ GNUNET_break (0 == close (fd)); @@ -757,7 +757,6 @@ main (int argc, TMH_plugin->drop_temporary (TMH_plugin->cls, session); } - TALER_MINTDB_plugin_unload (TMH_plugin); return (GNUNET_SYSERR == ret) ? 1 : 0; } |