diff options
Diffstat (limited to 'ssh-agent.c')
-rw-r--r-- | ssh-agent.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ssh-agent.c b/ssh-agent.c index 9c6680a25..e500591a9 100644 --- a/ssh-agent.c +++ b/ssh-agent.c | |||
@@ -1113,8 +1113,10 @@ main(int ac, char **av) | |||
1113 | 1113 | ||
1114 | platform_disable_tracing(0); /* strict=no */ | 1114 | platform_disable_tracing(0); /* strict=no */ |
1115 | 1115 | ||
1116 | #ifdef RLIMIT_NOFILE | ||
1116 | if (getrlimit(RLIMIT_NOFILE, &rlim) == -1) | 1117 | if (getrlimit(RLIMIT_NOFILE, &rlim) == -1) |
1117 | fatal("%s: getrlimit: %s", __progname, strerror(errno)); | 1118 | fatal("%s: getrlimit: %s", __progname, strerror(errno)); |
1119 | #endif | ||
1118 | 1120 | ||
1119 | __progname = ssh_get_progname(av[0]); | 1121 | __progname = ssh_get_progname(av[0]); |
1120 | seed_rng(); | 1122 | seed_rng(); |