diff options
author | Thomas Adam <thomas@xteddy.org> | 2016-10-14 22:01:11 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2016-10-14 22:01:11 +0100 |
commit | 9d58febc8f4243ed4a392e45f89de0455c032090 (patch) | |
tree | af3d1d33835ae7b6a6b7b9830df0527044bfd1b9 /cfg.c | |
parent | 33fbf82ac0623c53603462e17e0a2eda489867e4 (diff) | |
parent | 1721d1994eb03beb8217fa3e61ed0cc097dd899e (diff) |
Merge branch 'obsd-master'
Diffstat (limited to 'cfg.c')
-rw-r--r-- | cfg.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -128,7 +128,10 @@ load_cfg(const char *path, struct cmd_q *cmdq, int quiet) static void cfg_default_done(__unused struct cmd_q *cmdq) { - if (--cfg_references != 0) + log_debug("%s: %u references%s", __func__, cfg_references, + cfg_finished ? " (finished)" : ""); + + if (cfg_finished || --cfg_references != 0) return; cfg_finished = 1; |