Просмотр исходного кода

+ fix debug more to send to prezes

a.binder 8 лет назад
Родитель
Сommit
1ecab1d56f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      SE/se-lib/Route/Install.php

+ 1 - 1
SE/se-lib/Route/Install.php

@@ -796,7 +796,7 @@ chmod 600 ~/.ssh/authorized_keys;
 		$cmd = "ssh {$sshPort} {$appLicenceInfo->rootLogin}@{$appLicenceInfo->mainServer} 'ls -1'";
 		V::exec($cmd, $out, $ret);
 		DBG::_(true, true, "cmd: {$cmd} (return: {$ret})", $out, __CLASS__, __FUNCTION__, __LINE__);
-		if (0 !== $ret) throw new Exception("Cannot run remote command using rsa key! #{$ret}");
+		if (0 !== $ret) throw new Exception("Cannot run remote command using rsa key! #{$ret}. Cmd: {$cmd}");
 	}