summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-04-18 08:28:09 -0400
committerDaniel Friesel <derf@finalrewind.org>2019-04-18 08:28:09 -0400
commitdaeb19780dcb021ee12ec5ebe2adbb8ad835c075 (patch)
treecf94a9bd3a8d6a7cdf9cfd1922b07915accd6094 /src/main.c
parentd936dbc41965b18474bc6ca7f17bd881ed4c4e46 (diff)
Gracefully handle inotify failures
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 570f906..f7ea18b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -62,7 +62,8 @@ int main(int argc, char **argv)
opt.inotify_fd = inotify_init();
if (opt.inotify_fd < 0) {
opt.auto_reload = 0;
- eprintf("inotify_init failed:");
+ weprintf("inotify_init failed:");
+ weprintf("Disabling inotify-based auto-reload");
}
}
#endif