mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-03 14:23:02 +02:00
container: fix timeout handling in restart
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -575,7 +575,7 @@ case $cmd in
|
||||
stop "$name"
|
||||
timeout=20
|
||||
while running "$name"; do
|
||||
_=$((timeoute -= 1))
|
||||
_=$((timeout -= 1))
|
||||
if [ $timeout -le 0 ]; then
|
||||
log "Timeout waiting for container $1 to stop before restarting it."
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user