summaryrefslogtreecommitdiff
path: root/src/mint
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-09-22 15:31:58 +0200
committerChristian Grothoff <christian@grothoff.org>2015-09-22 15:31:58 +0200
commit73c8b6787c67b9c3b5472559be803e465e50c4b6 (patch)
treea76c582d78df62d40142c2fd3f277c22d35a5277 /src/mint
parentb022232a59f6b2acd1d183625089dba2b1ee5834 (diff)
downloadexchange-73c8b6787c67b9c3b5472559be803e465e50c4b6.tar.gz
exchange-73c8b6787c67b9c3b5472559be803e465e50c4b6.tar.bz2
exchange-73c8b6787c67b9c3b5472559be803e465e50c4b6.zip
-do unload plugin, use _exit() after execvp() failure
Diffstat (limited to 'src/mint')
-rw-r--r--src/mint/taler-mint-httpd.c3
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;
}