Skip to content

Commit

Permalink
Adjust inotify masks some more.
Browse files Browse the repository at this point in the history
  • Loading branch information
stassats committed Oct 27, 2013
1 parent f777c9a commit d6eccc1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rtorrent-controller.lisp
Expand Up @@ -163,8 +163,7 @@
(defun inotify-loop (&key (directory #p"/tmp/"))

(load-existing-torrents directory)
(inotify:with-inotify (inot `((,directory ,(logior inotify:in-close-write
inotify:in-moved-to))))
(inotify:with-inotify (inot `((,directory ,inotify:in-moved-to)))
(write-line "Waiting for files.")
(loop
(dolist (event (inotify:read-events inot))
Expand Down

0 comments on commit d6eccc1

Please sign in to comment.