]> git.decadent.org.uk Git - nfs-utils.git/blob - debian/patches/06-dont-check-exec-bit.patch
Merge branch 'upstream'
[nfs-utils.git] / debian / patches / 06-dont-check-exec-bit.patch
1 Index: nfs-utils-1.1.2/utils/mount/mount.c
2 ===================================================================
3 --- nfs-utils-1.1.2.orig/utils/mount/mount.c    2008-07-11 18:59:58.000000000 +0200
4 +++ nfs-utils-1.1.2/utils/mount/mount.c 2008-07-11 18:59:58.000000000 +0200
5 @@ -381,10 +381,6 @@
6                 mount_error(NULL, mount_point, ENOTDIR);
7                 return 1;
8         }
9 -       if (access(mount_point, X_OK) < 0) {
10 -               mount_error(NULL, mount_point, errno);
11 -               return 1;
12 -       }
13  
14         return 0;
15  }