summaryrefslogtreecommitdiff
path: root/ssh-agent.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-04-20 23:12:58 +1000
committerDamien Miller <djm@mindrot.org>2000-04-20 23:12:58 +1000
commitd0cff3ecc49204c03c06428f7b779b8a18c0486f (patch)
tree97eaecdaec4a134fc48d5704a33f4ad3ba9ca1f4 /ssh-agent.c
parent166fca8894807de71b741a779330bd23edfec013 (diff)
- Merge fixes from Debian patch from Phil Hands <phil@hands.com>
- Allow setting of PAM service name through CFLAGS (SSHD_PAM_SERVICE) - Use vhangup to clean up Linux ttys - Force posix getopt processing on GNU libc systems
Diffstat (limited to 'ssh-agent.c')
-rw-r--r--ssh-agent.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ssh-agent.c b/ssh-agent.c
index 5a265e6b8..c9a84a4a0 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -511,7 +511,11 @@ main(int ac, char **av)
511 __progname); 511 __progname);
512 exit(1); 512 exit(1);
513 } 513 }
514#ifdef __GNU_LIBRARY__
515 while ((ch = getopt(ac, av, "+cks")) != -1) {
516#else /* __GNU_LIBRARY__ */
514 while ((ch = getopt(ac, av, "cks")) != -1) { 517 while ((ch = getopt(ac, av, "cks")) != -1) {
518#endif /* __GNU_LIBRARY__ */
515 switch (ch) { 519 switch (ch) {
516 case 'c': 520 case 'c':
517 if (s_flag) 521 if (s_flag)