diff options
author | Matt Johnston <matt@ucc.asn.au> | 2004-08-27 14:39:01 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2004-08-27 14:39:01 +0000 |
commit | 69282617fd9c40395d57edf0ed6587def6131de7 (patch) | |
tree | 193af27642c02413e0d25619897554a664bb58f9 /cli-main.c | |
parent | 51a74b47995cfe24ef190b7e254f768eb92735f5 (diff) |
merge of 50be59810e462f9f44f55e421227d6aa0b31982b
and 69b007796063cb5f042be7cca2d479e90db869c3
--HG--
extra : convert_revision : 5d0dfaa8c0ee6c728a3b4f0f0855199ba729db83
Diffstat (limited to 'cli-main.c')
-rw-r--r-- | cli-main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -52,6 +52,10 @@ int main(int argc, char ** argv) { TRACE(("user='%s' host='%s' port='%s'", cli_opts.username, cli_opts.remotehost, cli_opts.remoteport)); + if (signal(SIGPIPE, SIG_IGN) == SIG_ERR) { + dropbear_exit("signal() error"); + } + sock = connect_remote(cli_opts.remotehost, cli_opts.remoteport, 0, &error); |