From 83e21e0398d4aa4028fb14586a7726da9088b65f Mon Sep 17 00:00:00 2001 From: neilbrown Date: Tue, 8 Jun 2004 03:16:36 +0000 Subject: Fix cache flushing problem. --- utils/exportfs/exportfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'utils/exportfs/exportfs.c') 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(); -- cgit