nicer message in -r error case

This commit is contained in:
Christian Grothoff 2019-09-26 10:29:43 +02:00
parent 3b3daa75a8
commit 14c7e45e97
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -198,6 +198,10 @@ main (int argc,
if (0 == qs)
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
(remove_flag)
?
"Could not remove exchange from auditor database: entry already absent\n"
:
"Could not add exchange to auditor database: entry already existed\n");
TALER_AUDITORDB_plugin_unload (adb);
return 4;