- djm@cvs.openbsd.org 2010/10/06 21:10:21

[sshconnect.c]
     swapped args to kill(2)
This commit is contained in:
Damien Miller 2010-10-07 22:07:58 +11:00
parent a41ccca643
commit 45fcdaa1cf
2 changed files with 5 additions and 2 deletions

View File

@ -34,6 +34,9 @@
[clientloop.c ssh.c sshconnect.c sshconnect.h]
kill proxy command on fatal() (we already kill it on clean exit);
ok markus@
- djm@cvs.openbsd.org 2010/10/06 21:10:21
[sshconnect.c]
swapped args to kill(2)
20100924
- (djm) OpenBSD CVS Sync

View File

@ -1,4 +1,4 @@
/* $OpenBSD: sshconnect.c,v 1.227 2010/10/06 06:39:28 djm Exp $ */
/* $OpenBSD: sshconnect.c,v 1.228 2010/10/06 21:10:21 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@ -176,7 +176,7 @@ ssh_kill_proxy_command(void)
* case it hangs and instead rely on init to reap the child
*/
if (proxy_command_pid > 1)
kill(SIGHUP, proxy_command_pid);
kill(proxy_command_pid, SIGHUP);
}
/*