fsmonitor: coverity - fsmonitor_fd cannot be negative
This commit is contained in:
parent
60aa4e2658
commit
fc915fcdc4
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ fsmonitor_thread ( void* p )
|
|||
fsmonitor_link_t *fml;
|
||||
fsmonitor_t *fsm;
|
||||
|
||||
while (1) {
|
||||
while (fsmonitor_fd >= 0) {
|
||||
|
||||
/* Wait for event */
|
||||
c = read(fsmonitor_fd, buf, sizeof(buf));
|
||||
|
|
Loading…
Add table
Reference in a new issue