Clearer error message on missing MOSH IP (fixed #33 github issue)
This commit is contained in:
+5
-1
@@ -154,7 +154,11 @@ if ( $pid == 0 ) { # child
|
||||
}
|
||||
waitpid $pid, 0;
|
||||
|
||||
if ( not defined $ip or not defined $port ) {
|
||||
if ( not defined $ip ) {
|
||||
die "$0: Did not find remote IP address (is SSH ProxyCommand disabled?).\n";
|
||||
}
|
||||
|
||||
if ( not defined $key or not defined $port ) {
|
||||
die "$0: Did not find mosh server startup message.\n";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user