1
0

fix: exit on panic while waiting for ssh

This commit is contained in:
dump_stack() 2023-05-24 18:39:01 +00:00
parent 11bf6eda38
commit 04d6f0dbd3
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -341,7 +341,7 @@ func (q *System) Stop() {
} }
} }
func (q System) WaitForSSH(timeout time.Duration) error { func (q *System) WaitForSSH(timeout time.Duration) error {
for start := time.Now(); time.Since(start) < timeout; { for start := time.Now(); time.Since(start) < timeout; {
time.Sleep(time.Second / 4) time.Sleep(time.Second / 4)