Skip to content

Commit

Permalink
Merge pull request #146 from grondo/fwd_signal-macos
Browse files Browse the repository at this point in the history
sshcmd: fix sshcmd_signal on macos
  • Loading branch information
mergify[bot] authored Jun 13, 2022
2 parents 78f62f9 + dc557ef commit 139ef36
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/modules/sshcmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@ static int sshcmd_signal(int fd, void *arg, int signum)
* Always send SIGTERM. SIGINT doesn't seem to get forwarded by ssh, and
* really termination of the connection is probably the desired result.
*/
err ("sending SIGTERM to ssh %s\n", pipecmd_target ((pipecmd_t) arg));
return (pipecmd_signal ((pipecmd_t) arg, SIGTERM));
}

Expand Down

0 comments on commit 139ef36

Please sign in to comment.