Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on May 13, 2022. It is now read-only.
/sshdeployPublic archive

Commit1a70bcd

Browse files
committed
write error at sshdeploy
1 parentb609164 commit1a70bcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎Unosquare.Labs.SshDeploy/DeploymentManager.Monitor.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ private static void RunSshClientCommand(SshClient sshClient, CliExecuteOptionsBa
232232
" Executing SSH client command.".WriteLine(ConsoleColor.Green);
233233
varresult=sshClient.RunCommand(commandText);
234234
$" SSH TX:{commandText}".WriteLine(ConsoleColor.DarkYellow);
235-
$" SSH RX: [{result.ExitStatus}]{result.Result}".WriteLine(ConsoleColor.DarkYellow);
235+
$" SSH RX: [{result.ExitStatus}]{result.Result}{result.Error}".WriteLine(ConsoleColor.DarkYellow);
236236
}
237237

238238
privatestaticvoidRunCommand(SshClientsshClient,stringtype,stringcommand)
@@ -243,7 +243,7 @@ private static void RunCommand(SshClient sshClient, string type, string command)
243243

244244
varresult=sshClient.RunCommand(command);
245245
$" SSH TX:{command}".WriteLine(ConsoleColor.DarkYellow);
246-
$" SSH RX: [{result.ExitStatus}]{result.Result}".WriteLine(ConsoleColor.DarkYellow);
246+
$" SSH RX: [{result.ExitStatus}]{result.Result}{result.Error}".WriteLine(ConsoleColor.DarkYellow);
247247
}
248248

249249
/// <summary>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp