incorrect pdnssec exit codes #677

Closed
Habbie opened this Issue Apr 26, 2013 · 1 comment

Projects

None yet

1 participant

@Habbie
Member
Habbie commented Apr 26, 2013

Some pdnssec actions result in incorrect exit codes. This patch fixes the following:
{rectify-zone, show-zone, add-zone-key, disable-dnssec} on a non-existing exits with 1 instead of 0, and outputs an error message "No such zone in the database".
disable-dnssec also exits with 1 when a non-secured zone is passed.

secure-zone exits with 1 if any of the passed zones is non-existent.

@Habbie Habbie was assigned Apr 26, 2013
@Habbie
Member
Habbie commented Apr 26, 2013

Attachment '' (pdnssec_exitcodes_3051.patch) https://gist.github.com/5466858

@Habbie Habbie closed this in 032e390 May 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment