File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -492,7 +492,7 @@ public void CancelAsync(bool forceKill = false, int millisecondsTimeout = 500)
492492 /// <summary>
493493 /// Tries to send a POSIX/ANSI signal to the remote process executing the command, such as SIGINT or SIGTERM.
494494 /// </summary>
495- /// <param name="signal">The signal to send</param>
495+ /// <param name="signal">The signal to send. </param>
496496 /// <returns>If the signal was sent.</returns>
497497 public bool TrySendSignal ( CommandSignal signal )
498498 {
@@ -524,7 +524,7 @@ public bool TrySendSignal(CommandSignal signal)
524524 /// <summary>
525525 /// Tries to send a POSIX/ANSI signal to the remote process executing the command, such as SIGINT or SIGTERM.
526526 /// </summary>
527- /// <param name="signal">The signal to send</param>
527+ /// <param name="signal">The signal to send. </param>
528528 /// <exception cref="ArgumentException">Signal was not a valid CommandSignal.</exception>
529529 /// <exception cref="SshConnectionException">The client is not connected.</exception>
530530 /// <exception cref="SshOperationTimeoutException">The operation timed out.</exception>
@@ -537,6 +537,7 @@ public void SendSignal(CommandSignal signal)
537537 {
538538 throw new ArgumentException ( "Signal was not a valid CommandSignal." ) ;
539539 }
540+
540541 if ( _tcs is null || _tcs . Task . IsCompleted || _channel ? . IsOpen != true )
541542 {
542543 throw new InvalidOperationException ( "Command has not been started." ) ;
You can’t perform that action at this time.
0 commit comments