X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Frest-api.c;h=643acb57d2240451c35cd2b22a50f3a5a1c2a9fb;hb=da5a2bfe0571fbee3378f730633c17efcac94c30;hp=0fa27693a2851837436f1badbccb144181f27b5f;hpb=1309721790b7b2aeb29658b8907c99fcaabf85a5;p=src%2Fapp-framework-binder.git diff --git a/src/rest-api.c b/src/rest-api.c index 0fa27693..643acb57 100644 --- a/src/rest-api.c +++ b/src/rest-api.c @@ -657,7 +657,7 @@ void initPlugins(AFB_session *session) { if (count == 0) { fprintf(stderr, "No plugins found, afb-daemon is unlikely to work in this configuration, exiting...\n"); - exit (-1); + exit (1); } // downsize structure to effective number of loaded plugins