Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fsmonitor: coverity - fsmonitor_fd cannot be negative
  • Loading branch information
perexg committed Oct 3, 2014
1 parent 60aa4e2 commit fc915fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fsmonitor.c
Expand Up @@ -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));
Expand Down

0 comments on commit fc915fc

Please sign in to comment.