From: Mark Wooding Date: Sat, 11 Feb 2012 14:47:01 +0000 (+0000) Subject: zoneconf.in: Don't sign zones if they're not meant to be signed. X-Git-Url: https://git.distorted.org.uk/~mdw/zoneconf/commitdiff_plain/39bfd16a1962870e56dd5cdbbcfab243cdcb1761 zoneconf.in: Don't sign zones if they're not meant to be signed. --- diff --git a/zoneconf.in b/zoneconf.in index 8197a4d..224710f 100755 --- a/zoneconf.in +++ b/zoneconf.in @@ -1426,7 +1426,7 @@ defcmd install {user view name} { } ## If the zone wants signing, better to do that now. - if {![sign-zone-file $matchinfo keep $tmp]} { + if {$zone(sign) && ![sign-zone-file $matchinfo keep $tmp]} { eval $cleanup exit 2 }