You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
668 B
22 lines
668 B
diff --git a/ssh.c b/ssh.c
|
|
index 89ca1940..559bf2af 100644
|
|
--- a/ssh.c
|
|
+++ b/ssh.c
|
|
@@ -1124,6 +1124,8 @@ main(int ac, char **av)
|
|
}
|
|
}
|
|
|
|
+ ssh_signal(SIGPIPE, SIG_IGN); /* ignore SIGPIPE early */
|
|
+
|
|
/*
|
|
* Initialize "log" output. Since we are the client all output
|
|
* goes to stderr unless otherwise specified by -y or -E.
|
|
@@ -1652,7 +1654,6 @@ main(int ac, char **av)
|
|
options.num_system_hostfiles);
|
|
tilde_expand_paths(options.user_hostfiles, options.num_user_hostfiles);
|
|
|
|
- ssh_signal(SIGPIPE, SIG_IGN); /* ignore SIGPIPE early */
|
|
ssh_signal(SIGCHLD, main_sigchld_handler);
|
|
|
|
/* Log into the remote system. Never returns if the login fails. */
|