X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmountd%2Fcache.c;h=5612a9edf547ed626f35d27d50ffc3e22aa88612;hp=ed7fe3534ad3e5ae4ffff535b434913f221812b8;hb=e3f2d2262fed12f0f6b77c5ac1c4072d82f1e754;hpb=f5954afaeeee07ca6ded6c4cdcbf965f02f7a670 diff --git a/utils/mountd/cache.c b/utils/mountd/cache.c index ed7fe35..5612a9e 100644 --- a/utils/mountd/cache.c +++ b/utils/mountd/cache.c @@ -520,10 +520,12 @@ void nfsd_export(FILE *f) if (!found) { found = exp; found_type = i; - } else if (found_type == i) { - xlog(L_WARNING, "%s exported to both %s and %s in %s", - path, exp->m_client->m_hostname, found->m_client->m_hostname, + } else if (found_type == i && found->m_warned == 0) { + xlog(L_WARNING, "%s exported to both %s and %s, " + "arbitrarily choosing options from first", + path, found->m_client->m_hostname, exp->m_client->m_hostname, dom); + found->m_warned = 1; } } }