diff --git a/sbin/hastd/hastd.c b/sbin/hastd/hastd.c index 4acce3b72f04..eccce470901f 100644 --- a/sbin/hastd/hastd.c +++ b/sbin/hastd/hastd.c @@ -188,6 +188,7 @@ descriptors_assert(const struct hast_resource *res, int pjdlogmode) snprintf(msg, sizeof(msg), "Unable to fstat descriptor %d: %s", fd, strerror(errno)); + break; } if (fd == STDIN_FILENO || fd == STDOUT_FILENO || fd == STDERR_FILENO) {