diff options
-rw-r--r-- | utils/mount/stropts.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/mount/stropts.c b/utils/mount/stropts.c index 4c9ee17..b595649 100644 --- a/utils/mount/stropts.c +++ b/utils/mount/stropts.c @@ -621,12 +621,13 @@ static int nfs_try_mount_v4(struct nfsmount_info *mi) errno = EINVAL; goto out_fail; } + /* * Update option string to be recorded in /etc/mtab. */ if (po_join(options, mi->extra_opts) == PO_FAILED) { errno = ENOMEM; - return 0; + goto out_fail; } result = nfs_sys_mount(mi, options); |