[dnssec_generate.py] Use full path for knotc
This commit is contained in:
parent
84d93d61b3
commit
7c08e6c413
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ except:
|
|||
if __name__ == '__main__':
|
||||
ds_records = {}
|
||||
for zone in zones:
|
||||
cds = subprocess.check_output(['knotc', 'zone-read', zone, '@', 'CDS'])[:-1].decode('utf-8')
|
||||
cds = subprocess.check_output(['/usr/sbin/knotc', 'zone-read', zone, '@', 'CDS'])[:-1].decode('utf-8')
|
||||
ds = {}
|
||||
try:
|
||||
cds = cds.split(' ')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue