* mount.cc (do_mount): Replace --no-executable flag with notexec

mount option in hint for remote filesystems.
	* path.cc (getmntent): Fix typo (noexec -> notexec).
This commit is contained in:
Corinna Vinschen
2009-07-22 16:24:17 +00:00
parent 6c188691db
commit 3955529c8b
3 changed files with 8 additions and 2 deletions

View File

@ -882,7 +882,7 @@ getmntent (FILE *)
else if (m->flags & MOUNT_EXEC)
strcat (mnt.mnt_opts, (char *) ",exec");
else if (m->flags & MOUNT_NOTEXEC)
strcat (mnt.mnt_opts, (char *) ",noexec");
strcat (mnt.mnt_opts, (char *) ",notexec");
if (m->flags & MOUNT_NOACL)
strcat (mnt.mnt_opts, (char *) ",noacl");