From 8dcc7c5ef45cf5032dca7a308ffe17d3935e62d5 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sat, 27 Feb 2010 14:05:10 +0000 Subject: Convert to source format 3.0 (quilt). --- debian/patches/keyfile-debug.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 debian/patches/keyfile-debug.patch (limited to 'debian/patches/keyfile-debug.patch') diff --git a/debian/patches/keyfile-debug.patch b/debian/patches/keyfile-debug.patch new file mode 100644 index 000000000..7a46a78d7 --- /dev/null +++ b/debian/patches/keyfile-debug.patch @@ -0,0 +1,18 @@ +Index: b/auth.c +=================================================================== +--- a/auth.c ++++ b/auth.c +@@ -516,8 +516,12 @@ + * Open the file containing the authorized keys + * Fail quietly if file does not exist + */ +- if ((fd = open(file, O_RDONLY|O_NONBLOCK)) == -1) ++ if ((fd = open(file, O_RDONLY|O_NONBLOCK)) == -1) { ++ if (errno != ENOENT) ++ debug("Could not open keyfile '%s': %s", file, ++ strerror(errno)); + return NULL; ++ } + + if (fstat(fd, &st) < 0) { + close(fd); -- cgit v1.2.3