diff --git a/plugins/sudoers/match_digest.c b/plugins/sudoers/match_digest.c index f8ff86e78..09ea4356e 100644 --- a/plugins/sudoers/match_digest.c +++ b/plugins/sudoers/match_digest.c @@ -63,6 +63,7 @@ digest_matches(int fd, const char *path, /* No file, no match. */ goto done; } + fd = fd2; } TAILQ_FOREACH(digest, digests, entries) {