mirror of
https://github.com/Icinga/icinga2.git
synced 2026-03-24 19:34:43 -04:00
Fix Path to staged files
The paths in the list are relative, not absolute to the stage directory.
This commit is contained in:
parent
a7e94aab6d
commit
3e801fbd5a
1 changed files with 1 additions and 1 deletions
|
|
@ -547,7 +547,7 @@ void ApiListener::TryActivateZonesStageCallback(const ProcessResult& pr,
|
|||
|
||||
// Copy all synced configuration files from stage to production.
|
||||
for (const String& path : relativePaths) {
|
||||
if (!Utility::PathExists(path))
|
||||
if (!Utility::PathExists(apiZonesStageDir + path))
|
||||
continue;
|
||||
|
||||
Log(LogInformation, "ApiListener")
|
||||
|
|
|
|||
Loading…
Reference in a new issue