diff options
Diffstat (limited to 'ssh-agent.c')
-rw-r--r-- | ssh-agent.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ssh-agent.c b/ssh-agent.c index 09d12dc3f..dd5d21d5a 100644 --- a/ssh-agent.c +++ b/ssh-agent.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-agent.c,v 1.251 2019/12/13 19:09:10 djm Exp $ */ | 1 | /* $OpenBSD: ssh-agent.c,v 1.252 2020/01/23 07:10:22 dtucker Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -1404,10 +1404,10 @@ skip: | |||
1404 | if (ac > 0) | 1404 | if (ac > 0) |
1405 | parent_alive_interval = 10; | 1405 | parent_alive_interval = 10; |
1406 | idtab_init(); | 1406 | idtab_init(); |
1407 | signal(SIGPIPE, SIG_IGN); | 1407 | ssh_signal(SIGPIPE, SIG_IGN); |
1408 | signal(SIGINT, (d_flag | D_flag) ? cleanup_handler : SIG_IGN); | 1408 | ssh_signal(SIGINT, (d_flag | D_flag) ? cleanup_handler : SIG_IGN); |
1409 | signal(SIGHUP, cleanup_handler); | 1409 | ssh_signal(SIGHUP, cleanup_handler); |
1410 | signal(SIGTERM, cleanup_handler); | 1410 | ssh_signal(SIGTERM, cleanup_handler); |
1411 | 1411 | ||
1412 | if (pledge("stdio rpath cpath unix id proc exec", NULL) == -1) | 1412 | if (pledge("stdio rpath cpath unix id proc exec", NULL) == -1) |
1413 | fatal("%s: pledge: %s", __progname, strerror(errno)); | 1413 | fatal("%s: pledge: %s", __progname, strerror(errno)); |