Blob Blame History Raw
diff -up nfs-utils-1.3.0/support/nfs/exports.c.orig nfs-utils-1.3.0/support/nfs/exports.c
--- nfs-utils-1.3.0/support/nfs/exports.c.orig	2019-03-15 10:40:34.482376658 -0400
+++ nfs-utils-1.3.0/support/nfs/exports.c	2019-03-15 10:41:18.875012753 -0400
@@ -508,7 +508,7 @@ void fix_pseudoflavor_flags(struct expor
 static int
 parseopts(char *cp, struct exportent *ep, int warn, int *had_subtree_opt_ptr)
 {
-	int	had_subtree_opt = 0;
+	int	had_subtree_opt = 1;
 	char 	*flname = efname?efname:"command line";
 	int	flline = efp?efp->x_line:0;
 	unsigned int active = 0;