From 73c8b6787c67b9c3b5472559be803e465e50c4b6 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 22 Sep 2015 15:31:58 +0200 Subject: -do unload plugin, use _exit() after execvp() failure --- src/mint/taler-mint-httpd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mint') 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; } -- cgit v1.2.3