summaryrefslogtreecommitdiffstats
path: root/common/notify-inotify.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/notify-inotify.c')
-rw-r--r--common/notify-inotify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/notify-inotify.c b/common/notify-inotify.c
index 5672a4ed..281d4179 100644
--- a/common/notify-inotify.c
+++ b/common/notify-inotify.c
@@ -102,7 +102,7 @@ void notify_init(void)
return;
}
- g_io_add_watch(io, G_IO_IN, io_event, NULL);
+ g_io_add_watch(io, G_IO_IN | G_IO_ERR | G_IO_HUP, io_event, NULL);
}
void notify_close(void)