summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/rest-api.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/rest-api.c b/src/rest-api.c
index 643acb57..a62a88bd 100644
--- a/src/rest-api.c
+++ b/src/rest-api.c
@@ -655,11 +655,6 @@ void initPlugins(AFB_session *session) {
close (dirfd);
}
- if (count == 0) {
- fprintf(stderr, "No plugins found, afb-daemon is unlikely to work in this configuration, exiting...\n");
- exit (1);
- }
-
// downsize structure to effective number of loaded plugins
plugins = (AFB_plugin **)realloc (plugins, (unsigned)(count+1)*sizeof(AFB_plugin*));
plugins[count] = NULL;