]> git.proxmox.com Git - pve-container.git/commit
Use lock_container when checking locks
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 19 Jan 2016 12:47:23 +0000 (13:47 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 19 Jan 2016 15:31:03 +0000 (16:31 +0100)
commitf053a616ae731ead4cef079e0ef5ad5c4eaf68da
tree6c41805bd7c9c9379accd342fa7828ad82d44603
parent8b7b5208058ee4429bc57569e8073fa922cf1b12
Use lock_container when checking locks

This should prevent race conditions by preventing config
file changes inbetween checking locks and actually doing
the start/stop/.. operation.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/PVE/API2/LXC/Status.pm