Skip to content

Commit 5166d83

Browse files
committed
shutdown timeout on error for debugging
1 parent 008d5e1 commit 5166d83

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

action.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ function start_vm {
207207
set -e
208208
shutdown() {
209209
echo ❌ Machine setup failed so deleting $VM_ID in ${machine_zone} ...
210+
sleep ${shutdown_timeout}
210211
${shutdown_command}
211212
}
212213
trap shutdown ERR

0 commit comments

Comments
 (0)