]> TLD Linux GIT Repositories - packages/glusterfs.git/commitdiff
- missing patch
authorMarcin Krol <hawk@tld-linux.org>
Wed, 15 Feb 2023 23:04:00 +0000 (00:04 +0100)
committerMarcin Krol <hawk@tld-linux.org>
Wed, 15 Feb 2023 23:04:00 +0000 (00:04 +0100)
ksh_getopts.patch [new file with mode: 0644]

diff --git a/ksh_getopts.patch b/ksh_getopts.patch
new file mode 100644 (file)
index 0000000..bfe2930
--- /dev/null
@@ -0,0 +1,12 @@
+diff -ur glusterfs-10.3.orig/xlators/mount/fuse/utils/mount.glusterfs.in glusterfs-10.3/xlators/mount/fuse/utils/mount.glusterfs.in
+--- glusterfs-10.3.orig/xlators/mount/fuse/utils/mount.glusterfs.in    2022-09-20 12:24:29.933821865 +0200
++++ glusterfs-10.3/xlators/mount/fuse/utils/mount.glusterfs.in 2023-02-15 23:52:58.118725982 +0100
+@@ -772,7 +772,7 @@
+         ## `mount` specifies options as a last argument
+         shift 2;
+     fi
+-    while getopts "Vo:hns" opt; do
++    while getopts "Vo:hns" opt 2>/dev/null; do
+         case "${opt}" in
+             o)
+                 parse_options ${OPTARG};