, test_config ? "test" : "start"
);
+ char yaz_version_str[20];
+ char yaz_sha1_str[41];
+ yaz_version(yaz_version_str, yaz_sha1_str);
+ yaz_log(YLOG_LOG, "YAZ %s %s", yaz_version_str, yaz_sha1_str);
+
xmlInitParser();
LIBXML_TEST_VERSION
yaz_sc_running(s);
yaz_daemon("metaproxy", mode | YAZ_DAEMON_LOG_REOPEN,
- mode == YAZ_DAEMON_DEBUG ? work_debug : work_normal,
+ (mode & YAZ_DAEMON_FORK) ? work_normal : work_debug,
router, pidfile, uid);
}
delete router;