diff options
author | James Augustine <jcaugust81@gmail.com> | 2015-12-16 14:56:11 -0600 |
---|---|---|
committer | Kaleb KEITHLEY <kkeithle@redhat.com> | 2016-01-10 11:28:43 -0800 |
commit | 9e7cd9456532caa7b255978b4b435418c04e0db9 (patch) | |
tree | a06badb5577a4bca358514e1837555715dac05fe /xlators/mount/fuse/utils/mount.glusterfs.in | |
parent | d5d6918ce7dc9f54496da435af546611dfbe7d5c (diff) |
no-mtab (-n) mount option ignore next mount option
The -n option does not take any arguments. It seems like this shift is
removing the next option. On my CentOS 7 system, automount calls
mount.glusterfs with the parameters:
host:/volume /mountpoint -n -o rw,acl,_netdev
This causes the -o option to be siliently ignored.
Change-Id: Ice3c877f6ab346b04292e3dfed968d04d15077a5
BUG: 1297195
Signed-off-by: James Augustine <jcaugust81@gmail.com>
Reviewed-on: http://review.gluster.org/12988
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Tested-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'xlators/mount/fuse/utils/mount.glusterfs.in')
-rwxr-xr-x | xlators/mount/fuse/utils/mount.glusterfs.in | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/xlators/mount/fuse/utils/mount.glusterfs.in b/xlators/mount/fuse/utils/mount.glusterfs.in index ae3a075f9a8..7f314da69ec 100755 --- a/xlators/mount/fuse/utils/mount.glusterfs.in +++ b/xlators/mount/fuse/utils/mount.glusterfs.in @@ -573,7 +573,6 @@ main () shift 2; ;; n) - shift 1; ;; V) ${cmd_line} -V; |