]> git.decadent.org.uk Git - nfs-utils.git/commit
exportfs: do not warn if /etc/exports.d/ does not exist
authorMike Frysinger <vapier@gentoo.org>
Thu, 1 Sep 2011 15:34:25 +0000 (11:34 -0400)
committerSteve Dickson <steved@redhat.com>
Thu, 1 Sep 2011 15:34:25 +0000 (11:34 -0400)
commitf07eb99180aa933366d6ec4ed9422a12d23a17b8
tree4cacd5d49760f3fa54411c1a519bc42ef80b9022
parent32a94f0054478cd2647f98c57dfe43caf8131e15
exportfs: do not warn if /etc/exports.d/ does not exist

It isn't uncommon for /etc/exports.d/ to not exist, and imo, it's not
that big of a deal as often times, a simple /etc/exports is sufficient.
So silently skip the case where the dir is missing.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/exportfs/exportfs.c