jtc-overlay/sys-cluster/resource-agents/files/3.9.4-exportfs-ipv6.patch
2022-08-30 15:46:53 -04:00

12 lines
285 B
Diff

--- a/heartbeat/exportfs 2021-06-02 14:25:12.313235714 -0400
+++ b/heartbeat/exportfs 2021-06-02 14:24:53.373660282 -0400
@@ -245,7 +245,7 @@
}
is_exported() {
local dir=$1
- local spec=$2
+ local spec="${2//[][]/}"
local rc
format_exports | grep -q -x -F "$dir $spec"
rc=$?