forked from toolshed/abra
fix: custom timeout only for "server add"
This commit is contained in:
@ -19,7 +19,7 @@ func Fatal(hostname string, err error) error {
|
||||
} else if strings.Contains(out, "Permission denied") {
|
||||
return fmt.Errorf("ssh auth: permission denied for %s", hostname)
|
||||
} else if strings.Contains(out, "Network is unreachable") {
|
||||
return fmt.Errorf("unable to connect to %s, network is unreachable?", hostname)
|
||||
return fmt.Errorf("unable to connect to %s, please check your SSH config", hostname)
|
||||
}
|
||||
|
||||
return err
|
||||
|
Reference in New Issue
Block a user