From 6fac2b6bca1e2fcc2d96c5b12203ce42b4b41f7e Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 7 Jun 1998 22:56:23 +0000 Subject: Fix the empty-file bug. svn path=/trunk/; revision=1931 --- conf.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'conf.c') 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); -- cgit v1.2.3