fix: forgejo-runner-service.sh do not fail container does not exist

If the daemon cannot be stopped and the goal is to destroy the
container, just proceed instead of failing.
pull/461/head
Earl Warren 2025-01-28 15:24:28 +01:00
parent 625965c739
commit 434e44b69e
No known key found for this signature in database
GPG Key ID: 0579CB2928A78A00
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ function daemon() {
}
function destroy_and_create() {
stop
stop || true
lxc-helpers.sh lxc_container_destroy $(lxc_name)
lxc_create
}