diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2000-05-01 18:51:00 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2000-05-01 18:51:00 +0000 |
commit | 0efbbb488dcfe757e259cde40588be55c9862aaa (patch) | |
tree | d49662c803471a4d74d5b9764a591c91ae0a295e /usr.bin/ssh/sshd.c | |
parent | 756fb52ccabcff6737e97484a6d22b480f8f92d4 (diff) |
PidFile, pr 1210
Diffstat (limited to 'usr.bin/ssh/sshd.c')
-rw-r--r-- | usr.bin/ssh/sshd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c index 14f3eb965b4..a046b0d3725 100644 --- a/usr.bin/ssh/sshd.c +++ b/usr.bin/ssh/sshd.c @@ -14,7 +14,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshd.c,v 1.111 2000/04/27 08:01:28 markus Exp $"); +RCSID("$OpenBSD: sshd.c,v 1.112 2000/05/01 18:50:59 markus Exp $"); #include "xmalloc.h" #include "rsa.h" @@ -724,7 +724,7 @@ main(int ac, char **av) * fail if there already is a daemon, and this will * overwrite any old pid in the file. */ - f = fopen(SSH_DAEMON_PID_FILE, "w"); + f = fopen(options.pid_file, "w"); if (f) { fprintf(f, "%u\n", (unsigned int) getpid()); fclose(f); |