chiark
/
gitweb
/
~ian
/
secnet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
271f869
)
pubkeys: Improve debug message for expected ENOENT
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 23 Nov 2019 17:28:11 +0000
(17:28 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 30 Dec 2019 13:15:49 +0000
(13:15 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
pubkeys.fl.pl
patch
|
blob
|
history
diff --git
a/pubkeys.fl.pl
b/pubkeys.fl.pl
index f0e8d58c3364f7702117635a009377e1a96080b1..69cc3c925aee2ab249529d32d631c5cfb4f8f399 100755
(executable)
--- a/
pubkeys.fl.pl
+++ b/
pubkeys.fl.pl
@@
-283,7
+283,8
@@
keyset_load(const char *path, struct buffer_if *data_buf,
if (!pkyyin) {
slilog(LI,
errno==ENOENT ? logcl_enoent : M_ERR,
- "could not open keyset file %s: %s",
+ "%scould not open keyset file %s: %s",
+ logcl_enoent==M_DEBUG && errno==ENOENT ? "expectedly " : "",
path,strerror(errno));
goto err;
}