summaryrefslogtreecommitdiffstats
path: root/extra/nfs-utils/nfs-utils-no-exec.patch
blob: 94a73d366f46cb7b46fb10797dcf726d2a287ee0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- utils/mount/mount.c Wed Apr  8 09:25:26 2009
+++ utils/mount/mount.c	Wed Apr  8 09:25:26 2009
@@ -407,10 +407,6 @@
 		mount_error(NULL, mount_point, ENOTDIR);
 		return 1;
 	}
-	if (access(mount_point, X_OK) < 0) {
-		mount_error(NULL, mount_point, errno);
-		return 1;
-	}
 
 	return 0;
 }