Bugfix: read from stdin before we check whether we got somem entries...
This commit is contained in:
parent
47a8301190
commit
29794f9b99
@ -471,15 +471,15 @@ int main(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
|
||||
if(fromstdin)
|
||||
queue_watches_from_stdin();
|
||||
|
||||
if(watchlist_head == NULL)
|
||||
{
|
||||
watchpath = cur_wkdir();
|
||||
watchqueue_addpath(watchpath);
|
||||
}
|
||||
|
||||
if(fromstdin)
|
||||
queue_watches_from_stdin();
|
||||
|
||||
if(mask == 0)
|
||||
mask |= IN_CLOSE_WRITE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user