fix: exit on panic while waiting for ssh
This commit is contained in:
parent
11bf6eda38
commit
04d6f0dbd3
@ -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; {
|
||||
time.Sleep(time.Second / 4)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user