X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/e7eb3a2744aa45179daea235800753d3d1955338..b88fd7912fc173b50b4638fb1e25155999568990:/server/rescan.c diff --git a/server/rescan.c b/server/rescan.c index f779d02..ebff098 100644 --- a/server/rescan.c +++ b/server/rescan.c @@ -15,7 +15,11 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ - +/** @file server/rescan.c + * @brief Rescanning utility + * + * Invoked by the server. + */ #include "disorder-server.h" static time_t last_report; @@ -376,7 +380,7 @@ int main(int argc, char **argv) { openlog(progname, LOG_PID, LOG_DAEMON); log_default = &log_syslog; } - if(config_read(0)) fatal(0, "cannot read configuration"); + if(config_read(0, NULL)) fatal(0, "cannot read configuration"); xnice(config->nice_rescan); sa.sa_handler = signal_handler; sa.sa_flags = SA_RESTART;