]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/mount/stropts.c
mount.nfs: Continue to trying address when the server return EACCES
[nfs-utils.git] / utils / mount / stropts.c
index 9b4197b7f93d812958da2b4eaffd73cba5600836..8ee3024164caa94a9bf84fc5d8aaea942e1ae026 100644 (file)
@@ -666,6 +666,7 @@ static int nfs_try_mount_v3v2(struct nfsmount_info *mi)
                case EOPNOTSUPP:
                case EHOSTUNREACH:
                case ETIMEDOUT:
+               case EACCES:
                        continue;
                default:
                        goto out;
@@ -761,6 +762,7 @@ static int nfs_try_mount_v4(struct nfsmount_info *mi)
                case ECONNREFUSED:
                case EHOSTUNREACH:
                case ETIMEDOUT:
+               case EACCES:
                        continue;
                default:
                        goto out;