From c9f55cd0626c7e13aadc3ac0ba4d59e0f63d0cf2 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Thu, 16 Feb 2023 00:04:00 +0100 Subject: [PATCH] - missing patch --- ksh_getopts.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 ksh_getopts.patch diff --git a/ksh_getopts.patch b/ksh_getopts.patch new file mode 100644 index 0000000..bfe2930 --- /dev/null +++ b/ksh_getopts.patch @@ -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}; -- 2.44.0