summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/watch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/watch.c b/bin/watch.c
index 442835fa..f33c9ee7 100644
--- a/bin/watch.c
+++ b/bin/watch.c
@@ -85,6 +85,7 @@ int main(int argc, char *argv[]) {
 
         if (event.fflags & NOTE_DELETE) {
             close(event.ident);
+            sleep(1);
             watch(kq, event.udata);
         }