better error handling
This commit is contained in:
parent
c41b8bb580
commit
19172d0760
|
@ -147,6 +147,10 @@ function lamdaemonSSH($commands) {
|
|||
return $return;
|
||||
}
|
||||
}
|
||||
else {
|
||||
$return = array("ERROR," . _('Unable to connect to remote server!') . "," . $_SESSION['config']->scriptServer);
|
||||
return $return;
|
||||
}
|
||||
return array();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue