OPENDNSSEC-346: Save exit code to display it correctly on error
OPENDNSSEC-346: Save exit code to display it correctly on error

opendnssec/opendnssec-svn,opendnssec/opendnssec-svn,opendnssec/opendnssec-svn,opendnssec/opendnssec-svn