diff options
Diffstat (limited to 'bus')
-rw-r--r-- | bus/dir-watch-inotify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bus/dir-watch-inotify.c b/bus/dir-watch-inotify.c index 940f09a0..6cc02968 100644 --- a/bus/dir-watch-inotify.c +++ b/bus/dir-watch-inotify.c @@ -234,7 +234,7 @@ _init_inotify (BusContext *context) #else inotify_fd = inotify_init (); #endif - if (inotify_fd <= 0) + if (inotify_fd < 0) { _dbus_warn ("Cannot initialize inotify"); goto out; |