X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fexportfs%2Fexportfs.c;h=050470987c8e8ec883715a9fd44033ed92816940;hp=c3bb5ba3f89afb5ce0d050190f3ef1b4d865f7cd;hb=82d42dffa84fb884684f75769ca13668c5188a5e;hpb=da25e1aa006bafb4dd08e2ffedbd42d7c1f4036b diff --git a/utils/exportfs/exportfs.c b/utils/exportfs/exportfs.c index c3bb5ba..0504709 100644 --- a/utils/exportfs/exportfs.c +++ b/utils/exportfs/exportfs.c @@ -132,7 +132,7 @@ exports_update(int verbose) nfs_export *exp; for (exp = exportlist[MCL_FQDN]; exp; exp=exp->m_next) { - if (exp->m_mayexport && (!exp->m_exported || exp->m_changed)) { + if (exp->m_mayexport && ((exp->m_exported<1) || exp->m_changed)) { if (verbose) printf("%sexporting %s:%s to kernel\n", exp->m_exported ?"re":"",