Reset Running and JID so we can call start() after stop()

This commit is contained in:
yo 2022-07-14 11:12:13 +02:00
parent e1786a4d08
commit efd28c03ad

View File

@ -361,5 +361,7 @@ func StopJail(args []string) {
}
cj.InternalName = ""
cj.Running = false
cj.JID = 0
}
}