diff options
Diffstat (limited to 'server-fn.c')
-rw-r--r-- | server-fn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server-fn.c b/server-fn.c index df4cc5b9..24a489ac 100644 --- a/server-fn.c +++ b/server-fn.c @@ -431,7 +431,7 @@ server_check_unattached(void) * set, collect them. */ RB_FOREACH(s, sessions, &sessions) { - if (!(s->flags & SESSION_UNATTACHED)) + if (s->attached != 0) continue; if (options_get_number (s->options, "destroy-unattached")) session_destroy(s, __func__); |