summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-07-20 14:26:51 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-07-20 14:26:51 +0000
commit740dc6eab5b56539e0e9a9e4fbf3a5e17ee89f6a (patch)
tree7ed61b7e1fc0fdf0c677dbb42c18ebb48fe3db5b /lib
parentAdding @FILE@ replacement variables in preseed files. (diff)
downloadcompute-tools-740dc6eab5b56539e0e9a9e4fbf3a5e17ee89f6a.tar.xz
compute-tools-740dc6eab5b56539e0e9a9e4fbf3a5e17ee89f6a.zip
Also removing lock file when force-stopping a container.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-xlibexec/container/stop2
1 files changed, 2 insertions, 0 deletions
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