mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
parent
b99b373b6f
commit
78705e74f3
@ -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…
x
Reference in New Issue
Block a user