aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf.c b/conf.c
index 3e683d89..d994524b 100644
--- a/conf.c
+++ b/conf.c
@@ -140,7 +140,10 @@ void dump_config(struct runctl *runp, struct query *querylist)
booldump("invisible", runp->invisible);
if (!querylist)
+ {
+ fputs(" 'servers': []\n", stdout);
goto alldone;
+ }
indent(0);
fputs("# List of server entries begins here\n", stdout);