Skip to content

Commit e2237a5

Browse files
committed
Merge branch 'master' of github.com:VitexSoftware/Icinga-Editor
2 parents c558080 + c0aa436 commit e2237a5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/classes/NSCPConfigBatGenerator.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ function cfgInit()
137137
case 'windows':
138138
$this->nscBatArray = ['
139139
@ECHO OFF
140+
powershell Set-ExecutionPolicy ByPass
140141
set NSCDIR=%ProgramFiles%\NSClient++\
141142
set NSCLIENT="%NSCDIR%\nscp.exe"
142143
set ICINGA_SERVER="'.$this->prefs['serverip'].'"
@@ -501,4 +502,5 @@ public function deployScripts()
501502
}
502503
}
503504
}
504-
}
505+
}
506+

0 commit comments

Comments
 (0)