remove bogus check

This commit is contained in:
Christian Grothoff 2020-12-02 16:02:56 +01:00
parent b92e85f9cc
commit 9a3377766d
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -1532,15 +1532,6 @@ run (void *cls,
GNUNET_DISK_directory_scan (keydir,
&import_key,
NULL);
if (NULL == keys_head)
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"No keys could be created. Strange.\n");
global_ret = 5;
GNUNET_SCHEDULER_shutdown ();
return;
}
/* start job to accept incoming requests on 'sock' */
read_task = GNUNET_SCHEDULER_add_read_net (GNUNET_TIME_UNIT_FOREVER_REL,
unix_sock,