mirror of https://git.kore.io/kore.git
also set has_lock to 0 when a worker starts.
This commit is contained in:
parent
e1183e22a6
commit
51efd84b6e
|
@ -192,6 +192,7 @@ kore_worker_entry(struct kore_worker *kw)
|
|||
u_int64_t now, idle_check;
|
||||
|
||||
worker = kw;
|
||||
kw->has_lock = 0;
|
||||
|
||||
if (chroot(chroot_path) == -1)
|
||||
fatal("cannot chroot(): %s", errno_s);
|
||||
|
|
Loading…
Reference in New Issue