]> 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)
committerLuk Claes <luk@debian.org>
Sun, 2 Oct 2011 14:16:47 +0000 (16:16 +0200)
commitba306bf247be1db85e871de1add8781f7f458b69
tree09fb63599a2f023dc0e9b28b2ef3894b68dcf35d
parent2b2434c65700a8ee57b6a0cfc482d643c0b8739e
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