zoneconf.in: Don't sign zones if they're not meant to be signed.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 11 Feb 2012 14:47:01 +0000 (14:47 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 11 Feb 2012 14:47:01 +0000 (14:47 +0000)
zoneconf.in

index 8197a4d..224710f 100755 (executable)
@@ -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
     }