summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-01-02 11:49:28 +1100
committerDamien Miller <djm@mindrot.org>2000-01-02 11:49:28 +1100
commit5121e3aaa6ac8f9dccd5d2487aefbf25ab2e52ea (patch)
tree754ef01447cccf99fac4a2a103781498eecf3eaf
parent6b85a7ffa6aefa75be7b19fc08a99d3971e02412 (diff)
- Properly clean up on exit of ssh-agent. Patch from Dean Gaudet
<dgaudet@arctic.org>
-rw-r--r--ChangeLog8
-rw-r--r--ssh-agent.c2
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 04b200dca..1add8ad8d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
120000102
2 - Prevent multiple inclusion of config.h and defines.h. Suggested
3 by Andre Lucas <andre.lucas@dial.pipex.com>
4 - Properly clean up on exit of ssh-agent. Patch from Dean Gaudet
5 <dgaudet@arctic.org>
6
119991231 719991231
2 - Fix password support on systems with a mixture of shadowed and 8 - Fix password support on systems with a mixture of shadowed and
3 non-shadowed passwords (e.g. NIS). Report and fix from 9 non-shadowed passwords (e.g. NIS). Report and fix from
@@ -17,8 +23,6 @@
17 23
18 - Added support for directory-based lastlogs 24 - Added support for directory-based lastlogs
19 - Really fix typedefs, patch from Ben Taylor <bent@clark.net> 25 - Really fix typedefs, patch from Ben Taylor <bent@clark.net>
20 - Prevent multiple inclusion of config.h and defines.h. Suggested
21 by Andre Lucas <andre.lucas@dial.pipex.com>
22 26
2319991230 2719991230
24 - OpenBSD CVS updates: 28 - OpenBSD CVS updates:
diff --git a/ssh-agent.c b/ssh-agent.c
index d224386c8..27ab6eaa9 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -643,6 +643,8 @@ main(int ac, char **av)
643 signal(SIGALRM, check_parent_exists); 643 signal(SIGALRM, check_parent_exists);
644 alarm(10); 644 alarm(10);
645 } 645 }
646 signal(SIGHUP, cleanup_exit);
647 signal(SIGTERM, cleanup_exit);
646 signal(SIGINT, SIG_IGN); 648 signal(SIGINT, SIG_IGN);
647 signal(SIGPIPE, SIG_IGN); 649 signal(SIGPIPE, SIG_IGN);
648 while (1) { 650 while (1) {