From: Marcin Krol Date: Wed, 15 Feb 2023 23:04:00 +0000 (+0100) Subject: - missing patch X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=c9f55cd0626c7e13aadc3ac0ba4d59e0f63d0cf2;p=packages%2Fglusterfs.git - missing 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};