mirror of https://github.com/Icinga/icinga2.git
parent
0e76876228
commit
37463741f1
|
@ -94,7 +94,7 @@ void ExternalCommandListener::CommandPipeThread(const String& commandPath)
|
|||
}
|
||||
|
||||
for (;;) {
|
||||
int fd = open(commandPath.CStr(), O_RDONLY | O_NONBLOCK);
|
||||
int fd = open(commandPath.CStr(), O_RDWR | O_NONBLOCK);
|
||||
|
||||
if (fd < 0) {
|
||||
Log(LogCritical, "ExternalCommandListener")
|
||||
|
|
Loading…
Reference in New Issue