- if(access(fullpath, X_OK) == -1)
- {
- snprintf(fullpath, sizeof(fullpath), "%s/libexec/charybdis/authd%s",
- ConfigFileEntry.dpath, suffix);
- if(access(fullpath, X_OK) == -1)
- {
- ilog(L_MAIN,
- "Unable to execute authd in %s or %s/libexec/charybdis",
- PKGLIBEXECDIR, ConfigFileEntry.dpath);
- sendto_realops_snomask(SNO_GENERAL, L_ALL,
- "Unable to execute resolver in %s or %s/libexec/charybdis",
- PKGLIBEXECDIR, ConfigFileEntry.dpath);
- return 1;
- }