X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmount%2Fstropts.c;fp=utils%2Fmount%2Fstropts.c;h=4032bf3e7aed502616a8b76c1e4ef79d193fc36f;hp=314a806799bbe83ed8e805b94059726f152bb898;hb=9da66f8898a69b77121a4f2ae785e9cd29e94e6c;hpb=8f065a26d49eabebc3995b8f6966b15ef7553b3e diff --git a/utils/mount/stropts.c b/utils/mount/stropts.c index 314a806..4032bf3 100644 --- a/utils/mount/stropts.c +++ b/utils/mount/stropts.c @@ -665,9 +665,10 @@ static int nfs_try_mount_v3v2(struct nfsmount_info *mi) case EHOSTUNREACH: continue; default: - break; + goto out; } } +out: return ret; } @@ -751,9 +752,10 @@ static int nfs_try_mount_v4(struct nfsmount_info *mi) case EHOSTUNREACH: continue; default: - break; + goto out; } } +out: return ret; }