diff options
Diffstat (limited to 'src/stat_cache.c')
-rw-r--r-- | src/stat_cache.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stat_cache.c b/src/stat_cache.c index da2f2c61..276c8ac8 100644 --- a/src/stat_cache.c +++ b/src/stat_cache.c @@ -121,6 +121,9 @@ gpointer stat_cache_thread(gpointer _srv) { g_time_val_add(&ts, 500 * 1000); if ((sj = g_async_queue_timed_pop(inq, &ts))) { + if(sj == (stat_job *) 1) + continue; /* just notifying us that srv->is_shutdown changed */ + /* don't care about the return code for now */ stat(sj->name->ptr, &st); |