From 0c009ef655b38cc4100ca4006dad45f3e77202af Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Mon, 29 Aug 2011 17:18:58 +0100 Subject: [PATCH] bin/zoneconf: Close the output config files at the right time. Otherwise they're still empty when we kick the nameserver. --- bin/zoneconf | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/zoneconf b/bin/zoneconf index fd8531f..e988a83 100755 --- a/bin/zoneconf +++ b/bin/zoneconf @@ -1204,6 +1204,7 @@ defcmd update {} { } set win true } { + foreach view $ZONECFG(all-views) { close $chan($view) } if {$win} { foreach view $ZONECFG(all-views) { file rename -force -- "$out($view).new" $out($view) -- 2.11.0