Index: src/subscriberfuncs.c =================================================================== --- src/subscriberfuncs.c.orig +++ src/subscriberfuncs.c @@ -51,6 +51,9 @@ off_t find_subscriber(int fd, const char return (off_t)-1; } + if(st.st_size == 0) + return (off_t)-1; + if(!S_ISREG(st.st_mode)) { log_error(LOG_ARGS, "Non regular file in subscribers.d/"); return (off_t)-1;