diff options
author | 2017-01-06 09:27:52 +0000 | |
---|---|---|
committer | 2017-01-06 09:27:52 +0000 | |
commit | 9514c239cec4a3b83a73b1b487816d93ca99021a (patch) | |
tree | 2eb30c376e76d468fba1e17cf0801640cbbba73e /usr.bin/ssh/readconf.c | |
parent | sync (diff) | |
download | wireguard-openbsd-9514c239cec4a3b83a73b1b487816d93ca99021a.tar.xz wireguard-openbsd-9514c239cec4a3b83a73b1b487816d93ca99021a.zip |
fix previous
Diffstat (limited to 'usr.bin/ssh/readconf.c')
-rw-r--r-- | usr.bin/ssh/readconf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/readconf.c b/usr.bin/ssh/readconf.c index 5f7b1332c71..fe4566714b2 100644 --- a/usr.bin/ssh/readconf.c +++ b/usr.bin/ssh/readconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: readconf.c,v 1.263 2017/01/06 03:53:58 djm Exp $ */ +/* $OpenBSD: readconf.c,v 1.264 2017/01/06 09:27:52 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -1487,7 +1487,7 @@ parse_keytypes: flags | SSHCONF_CHECKPERM | (oactive ? 0 : SSHCONF_NEVERMATCH), activep, depth + 1); - if (errno != ENOENT) { + if (r != 1 && errno != ENOENT) { fatal("Can't open user config file " "%.100s: %.100s", gl.gl_pathv[i], strerror(errno)); |