]> TLD Linux GIT Repositories - packages/glusterfs.git/blob - ksh_getopts.patch
- updated to 10.5
[packages/glusterfs.git] / ksh_getopts.patch
1 diff -ur glusterfs-10.3.orig/xlators/mount/fuse/utils/mount.glusterfs.in glusterfs-10.3/xlators/mount/fuse/utils/mount.glusterfs.in
2 --- glusterfs-10.3.orig/xlators/mount/fuse/utils/mount.glusterfs.in     2022-09-20 12:24:29.933821865 +0200
3 +++ glusterfs-10.3/xlators/mount/fuse/utils/mount.glusterfs.in  2023-02-15 23:52:58.118725982 +0100
4 @@ -772,7 +772,7 @@
5          ## `mount` specifies options as a last argument
6          shift 2;
7      fi
8 -    while getopts "Vo:hns" opt; do
9 +    while getopts "Vo:hns" opt 2>/dev/null; do
10          case "${opt}" in
11              o)
12                  parse_options ${OPTARG};