summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/servconf.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>1999-10-14 20:17:25 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>1999-10-14 20:17:25 +0000
commit6a09a8fdb8e003e0b520d69e399bc178f063ec62 (patch)
tree5fbc1c96715cac41b12800b0f42ddd27ef37272f /usr.bin/ssh/servconf.c
parent727aca4a7e1946fa490f7d54fe0886381ca2b7fc (diff)
refuse to start if there is no configuration file for sshd. ok: deraadt
Diffstat (limited to 'usr.bin/ssh/servconf.c')
-rw-r--r--usr.bin/ssh/servconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/servconf.c b/usr.bin/ssh/servconf.c
index 4c9c67f66cd..4990dee7cce 100644
--- a/usr.bin/ssh/servconf.c
+++ b/usr.bin/ssh/servconf.c
@@ -12,7 +12,7 @@ Created: Mon Aug 21 15:48:58 1995 ylo
*/
#include "includes.h"
-RCSID("$Id: servconf.c,v 1.15 1999/10/14 19:56:02 markus Exp $");
+RCSID("$Id: servconf.c,v 1.16 1999/10/14 20:17:24 markus Exp $");
#include "ssh.h"
#include "servconf.h"
@@ -272,7 +272,7 @@ void read_server_config(ServerOptions *options, const char *filename)
if (!f)
{
perror(filename);
- return;
+ exit(1);
}
linenum = 0;