diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-04-18 08:28:09 -0400 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-04-18 08:28:09 -0400 |
commit | daeb19780dcb021ee12ec5ebe2adbb8ad835c075 (patch) | |
tree | cf94a9bd3a8d6a7cdf9cfd1922b07915accd6094 /src/main.c | |
parent | d936dbc41965b18474bc6ca7f17bd881ed4c4e46 (diff) |
Gracefully handle inotify failures
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |