diff --git a/src/server.c b/src/server.c index 8e49f79cf..ebc8ec210 100644 --- a/src/server.c +++ b/src/server.c @@ -6050,7 +6050,8 @@ static int init_srv_requeue(struct server *srv) * failed to queue itself when brought up, which could happen if * a memory allocation failed. */ - tasklet_wakeup(t); + if (srv->cur_state != SRV_ST_STOPPED) + tasklet_wakeup(t); return ERR_NONE; }