=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/readconf.c,v retrieving revision 1.263 retrieving revision 1.264 diff -u -r1.263 -r1.264 --- src/usr.bin/ssh/readconf.c 2017/01/06 03:53:58 1.263 +++ src/usr.bin/ssh/readconf.c 2017/01/06 09:27:52 1.264 @@ -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 * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -1487,7 +1487,7 @@ 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));