Skip to content

Commit

Permalink
Low: make daemon with "-s site" (debug mode) claim "myself"
Browse files Browse the repository at this point in the history
  • Loading branch information
jnpkrn committed Sep 13, 2016
1 parent bcf1117 commit 1185487
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1185487

Please sign in to comment.