Merge pull request #5 from PowerDNS/failure-exit

exit(1) if the zone had errors
This commit is contained in:
David Blacka 2017-06-23 09:55:52 -04:00 committed by GitHub
commit 4853426d6c
1 changed files with 2 additions and 2 deletions

View File

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