From 740dc6eab5b56539e0e9a9e4fbf3a5e17ee89f6a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 20 Jul 2021 16:26:51 +0200 Subject: Also removing lock file when force-stopping a container. Signed-off-by: Daniel Baumann --- libexec/container/stop | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libexec/container/stop') diff --git a/libexec/container/stop b/libexec/container/stop index 58fc0e9..4310a35 100755 --- a/libexec/container/stop +++ b/libexec/container/stop @@ -271,6 +271,8 @@ case "${FORCE}" in do ip link delete ${VETH} > /dev/null 2>&1 || true done + + rm -f "${MACHINES}/.#${NAME}.lck" ;; esac -- cgit v1.2.3