diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-07-20 14:26:51 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-07-20 14:26:51 +0000 |
commit | 740dc6eab5b56539e0e9a9e4fbf3a5e17ee89f6a (patch) | |
tree | 7ed61b7e1fc0fdf0c677dbb42c18ebb48fe3db5b /libexec/container/stop | |
parent | Adding @FILE@ replacement variables in preseed files. (diff) | |
download | compute-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-x | libexec/container/stop | 2 |
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 |