exit(1) if the zone had errors

This commit is contained in:
Peter van Dijk 2017-06-22 14:34:14 +02:00
parent fb689c046f
commit b19bc5ffa3

View File

@ -147,14 +147,14 @@ public class VerifyZone extends CLBase
if (errors > 0) if (errors > 0)
{ {
System.out.println("zone did not verify."); System.out.println("zone did not verify.");
System.exit(1);
} }
else else
{ {
System.out.println("zone verified."); System.out.println("zone verified.");
}
System.exit(0); System.exit(0);
} }
}
public static void main(String[] args) public static void main(String[] args)
{ {