Skip to content
Snippets Groups Projects
Commit a471ca23 authored by Till Brehm's avatar Till Brehm
Browse files

#5373 No file when dns zone delete.

parent 7bf3c540
No related branches found
No related tags found
No related merge requests found
......@@ -391,7 +391,7 @@ class bind_plugin {
$app->log("Deleting BIND domain file: ".$zone_file_name, LOGLEVEL_DEBUG);
//* DNSSEC-Implementation
if($data['old']['dnssec_initialized'] == 'Y') {
if($data['old']['dnssec_initialized'] == 'Y' && file_exists('/usr/local/ispconfig/server/scripts/dnssec-delete.sh')) {
//delete keys
$app->system->exec_safe('/usr/local/ispconfig/server/scripts/dnssec-delete.sh ?', $data['old']['origin']);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment