-do unload plugin, use _exit() after execvp() failure
This commit is contained in:
parent
b022232a59
commit
73c8b6787c
@ -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;
|
||||
}
|
||||
|
@ -77,10 +77,8 @@ TALER_MINTDB_plugin_unload (struct TALER_MINTDB_Plugin *plugin)
|
||||
if (NULL == plugin)
|
||||
return;
|
||||
lib_name = plugin->library_name;
|
||||
#if SKIP
|
||||
GNUNET_assert (NULL == GNUNET_PLUGIN_unload (lib_name,
|
||||
plugin));
|
||||
#endif
|
||||
GNUNET_free (lib_name);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user