From 1185487afbd2a063664863f7bd98d1480ca0a2dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Pokorn=C3=BD?= Date: Tue, 13 Sep 2016 20:18:33 +0200 Subject: [PATCH] Low: make daemon with "-s site" (debug mode) claim "myself" --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index c05446f4..76e62c7c 100644 --- a/src/main.c +++ b/src/main.c @@ -372,8 +372,8 @@ static int setup_config(int type) /* Set "local" pointer, ignoring errors. */ if (cl.type == DAEMON && cl.site[0]) { if (!find_site_by_name(cl.site, &local, 1)) { - log_error("Cannot find \"%s\" in the configuration.", - cl.site); + log_error("Cannot find \"%s\" (myself) in the configuration.", + cl.site); return -EINVAL; } local->local = 1;