Fix backup directory creation hotfix
testing/og-dhcp-API/pipeline/head There was a failure building this commit
Details
testing/og-dhcp-API/pipeline/head There was a failure building this commit
Details
parent
6eac73bc69
commit
453dfd2b5a
|
@ -82,7 +82,7 @@ class CurlKeaService
|
||||||
$config_text = json_encode($get_output[0]['arguments']);
|
$config_text = json_encode($get_output[0]['arguments']);
|
||||||
$configurationParsed = str_replace('\\', '', $config_text);
|
$configurationParsed = str_replace('\\', '', $config_text);
|
||||||
|
|
||||||
$backup_dir = __DIR__ . '/../../../etc/kea/backup';
|
$backup_dir = __DIR__ . '/../../../../etc/kea/backup';
|
||||||
if (!is_dir($backup_dir)) {
|
if (!is_dir($backup_dir)) {
|
||||||
throw new Exception('El directorio de backup no existe');
|
throw new Exception('El directorio de backup no existe');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue