summaryrefslogtreecommitdiffstats
path: root/main/nfs-utils/nfs-utils-no-exec.patch
blob: a4fb06ee178ff4d4c12f7016d00d50eac7774be4 (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;
 }