Merge pull request #5 from PowerDNS/failure-exit
exit(1) if the zone had errors
This commit is contained in:
commit
4853426d6c
@ -147,14 +147,14 @@ 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);
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user