* mount.cc (mount_commands): Display "-X" option when appropriate.

This commit is contained in:
Christopher Faylor
2005-05-13 20:24:20 +00:00
parent e01eac68ed
commit 180cd17fa1
2 changed files with 6 additions and 4 deletions

View File

@@ -423,6 +423,8 @@ mount_commands (void)
strcat (opts, " -x");
if (strstr (p->mnt_opts, ",noexec"))
strcat (opts, " -E");
if (strstr (p->mnt_opts, ",cygexec"))
strcat (opts, " -X");
if (strstr (p->mnt_opts, ",managed"))
strcat (opts, " -o managed");
while ((c = strchr (p->mnt_fsname, '\\')) != NULL)