zoneconf.in: Don't sign zones if they're not meant to be signed.
[zoneconf] / 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
     }