summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr/src/lib/libshare/nfs/libshare_nfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/lib/libshare/nfs/libshare_nfs.c b/usr/src/lib/libshare/nfs/libshare_nfs.c
index e14a8a0ef7..55a11fd072 100644
--- a/usr/src/lib/libshare/nfs/libshare_nfs.c
+++ b/usr/src/lib/libshare/nfs/libshare_nfs.c
@@ -1150,7 +1150,7 @@ fill_security_from_secopts(struct secinfo *sp, sa_security_t secopts)
* such as RO/RW
*/
if (sp->s_secinfo.sc_rpcnum == AUTH_UNIX)
- continue;
+ break;
/* not AUTH_UNIX */
if (value != NULL) {
sp->s_rootnames = get_rootnames(&sp->s_secinfo,