return 1;
}
+ if (afb_common_rootdir_set(config->rootdir) < 0) {
+ ERROR("main fail to set common root directory");
+ return 1;
+ }
+
// let's run this program with a low priority
nice (20);
INFO("entering foreground mode");
}
+ /* start the HTTP server */
hsrv = start_http_server(config);
if (hsrv == NULL)
exit(1);