a.binder vor 8 Jahren
Ursprung
Commit
f1bcf23aff
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      SE/se-lib/Route/Install.php

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

@@ -800,7 +800,7 @@ chmod 600 ~/.ssh/authorized_keys;
 				//But it seems to be the only solution (suggestions are welcome). 
 				//But it seems to be the only solution (suggestions are welcome). 
 
 
 		DBG::_(true, true, "cmd: {$cmd} (return: {$ret})", $out, __CLASS__, __FUNCTION__, __LINE__);
 		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}; Out: {$out}; Cmd: {$cmd};");
+		if (0 !== $ret) throw new Exception("Cannot run remote command using rsa key! #{$ret}; Out: ".implode($out)."; Cmd: {$cmd};");
 	}
 	}