X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fexportfs%2Fexportfs.c;h=b4f0226042b22048725945755f0c04d99ef11757;hp=290d8b25454b7317c3c323bb1f02b9964934bdb8;hb=83e21e0398d4aa4028fb14586a7726da9088b65f;hpb=a2f85c4e2b561a4911c847f72d986ac158c4e9ca diff --git a/utils/exportfs/exportfs.c b/utils/exportfs/exportfs.c index 290d8b2..b4f0226 100644 --- a/utils/exportfs/exportfs.c +++ b/utils/exportfs/exportfs.c @@ -130,7 +130,8 @@ main(int argc, char **argv) if (!f_export) for (i = optind ; i < argc ; i++) unexportfs(argv[i], f_verbose); - rmtab_read(); + if (!new_cache) + rmtab_read(); } if (!new_cache) { xtab_mount_read();