mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Add --force during LXC_RESET because some containers don't want to be stopped for some reasons...
This commit is contained in:
parent
1ce755346e
commit
157f764079
1 changed files with 2 additions and 2 deletions
|
@ -94,8 +94,8 @@ LXC_STOP () {
|
||||||
}
|
}
|
||||||
|
|
||||||
LXC_RESET () {
|
LXC_RESET () {
|
||||||
timeout 30 lxc stop --timeout 15 $LXC_NAME 2>/dev/null
|
timeout 30 lxc stop --timeout 15 $LXC_NAME --force 2>/dev/null
|
||||||
lxc delete $LXC_NAME 2>/dev/null
|
lxc delete $LXC_NAME --force 2>/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue