hide errors

This commit is contained in:
Roland Gruber 2007-02-22 18:24:34 +00:00
parent 83b8e52ef7
commit 26c6ea899d
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ function lamdaemonSSH($commands, $server) {
$commands = implode("\n", $commands) . "\n";
// get username and password of the current lam-admin
$credentials = $_SESSION['ldap']->decrypt_login();
$handle = ssh2_connect($server);
$handle = @ssh2_connect($server);
if ($handle) {
$sr = @ldap_read($_SESSION['ldap']->server(), $credentials[0], "objectClass=posixAccount", array('uid'));
if (!$sr) {