From 0264b724d69d2aded84cec68ffe02555eb8f37c6 Mon Sep 17 00:00:00 2001 From: Paul Cercueil Date: Fri, 19 Jul 2013 11:47:27 -0400 Subject: [PATCH] Start inotify with working mask (fixes previous commit) --- src/monitor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/monitor.h b/src/monitor.h index 17ee06c..0492fae 100644 --- a/src/monitor.h +++ b/src/monitor.h @@ -9,7 +9,8 @@ class Monitor { public: Monitor(std::string path, unsigned int flags = IN_MOVE | - IN_CLOSE_WRITE | IN_DELETE | IN_CREATE); + IN_CLOSE_WRITE | IN_DELETE | IN_CREATE | + IN_DELETE_SELF | IN_MOVE_SELF); virtual ~Monitor(); int run(void);