|
|
|
|
|
by ambrop7
5043 days ago
|
|
The inotify script likely has a race condition; if the directory is modified while an update is running, it won't pick up the second modification, and will wait in a dirty state until it is modified again.
If anyone wants a race-free solution, you should check out my NCD scripting language [1] which has an integrated command to receive directory change notifications (last example in Blockers section is a race-free solution to this problem). [1] http://code.google.com/p/badvpn/wiki/NCD |
|