diff options
author | Christopher Faylor <me@cgf.cx> | 2005-05-14 00:24:20 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-05-14 00:24:20 +0400 |
commit | 180cd17fa13301ee8a974e2fd55d8a4b47d86f5d (patch) | |
tree | 44d60e75e07d94441ce94c08d85d629b38153d06 /winsup/utils/mount.cc | |
parent | e01eac68ed93d369c416bbbd16ed1b7d13086462 (diff) |
* mount.cc (mount_commands): Display "-X" option when appropriate.
Diffstat (limited to 'winsup/utils/mount.cc')
-rw-r--r-- | winsup/utils/mount.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/utils/mount.cc b/winsup/utils/mount.cc index 89220f20f..4a874b566 100644 --- a/winsup/utils/mount.cc +++ b/winsup/utils/mount.cc @@ -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) |