2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-04 16:45:24 +00:00

improve error message for missing dnssec-keygen/dnssec-settime. [RT #42456]

This commit is contained in:
Mark Andrews
2016-05-26 15:46:10 +10:00
parent 704e905831
commit 32e1f3cda0

View File

@@ -102,8 +102,11 @@ def parse_args():
if args.no_zsk and args.no_ksk:
fatal("ERROR: -z and -k cannot be used together.")
if args.keygen is None or args.settime is None:
fatal("ERROR: dnssec-keygen/dnssec-settime not found")
if args.keygen is None:
fatal("ERROR: dnssec-keygen not found")
if args.settime is None:
fatal("ERROR: dnssec-settime not found")
# if a policy file was specified, check that it exists.
# if not, use the default file, unless it doesn't exist