mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 02:22:15 +08:00
16 lines
297 B
Diff
16 lines
297 B
Diff
ripped from Debian
|
|
|
|
--- nfs-utils-1.1.2/utils/mount/mount.c
|
|
+++ nfs-utils-1.1.2/utils/mount/mount.c
|
|
@@ -381,10 +381,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;
|
|
}
|