diff options
author | neilbrown <neilbrown> | 2001-12-20 02:03:26 +0000 |
---|---|---|
committer | neilbrown <neilbrown> | 2001-12-20 02:03:26 +0000 |
commit | 0bd51f4c931eb68c355140c721763be64213a3ca (patch) | |
tree | 4423cf98c479be1a037b28cf0e879c0507c47b39 /support/export/xtab.c | |
parent | 7ac2c918e16fd63aa81c3aeb0e4870cded076bba (diff) | |
download | nfs-utils-0bd51f4c931eb68c355140c721763be64213a3ca.tar.gz nfs-utils-0bd51f4c931eb68c355140c721763be64213a3ca.tar.xz nfs-utils-0bd51f4c931eb68c355140c721763be64213a3ca.zip |
See Changelog
Diffstat (limited to 'support/export/xtab.c')
-rw-r--r-- | support/export/xtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/export/xtab.c b/support/export/xtab.c index 54470c1..4daef00 100644 --- a/support/export/xtab.c +++ b/support/export/xtab.c @@ -32,7 +32,7 @@ xtab_read(char *xtab, int is_export) if ((lockid = xflock(xtab, "r")) < 0) return 0; setexportent(xtab, "r"); - while ((xp = getexportent()) != NULL) { + while ((xp = getexportent(is_export==0)) != NULL) { if (!(exp = export_lookup(xp->e_hostname, xp->e_path, is_export != 1)) && !(exp = export_create(xp, is_export!=1))) { continue; |