mirror of https://github.com/Icinga/icinga2.git
Build fix for *NIX.
This commit is contained in:
parent
54ffa0a144
commit
0449c66afc
|
@ -533,7 +533,7 @@ void ExternalCommand::ProcessFile(double time, const vector<String>& arguments)
|
|||
ifstream ifp;
|
||||
ifp.exceptions(ifstream::badbit);
|
||||
|
||||
ifp.open(file, ifstream::in);
|
||||
ifp.open(file.CStr(), ifstream::in);
|
||||
|
||||
while(ifp.good()) {
|
||||
std::string line;
|
||||
|
|
Loading…
Reference in New Issue