Blame SOURCES/nfs-utils-2.3.3-rpcctl-posixpath.patch

981ed7
diff -up nfs-utils-2.3.3/tools/rpcctl/rpcctl.py.orig nfs-utils-2.3.3/tools/rpcctl/rpcctl.py
981ed7
--- nfs-utils-2.3.3/tools/rpcctl/rpcctl.py.orig	2022-06-27 13:22:19.844747880 -0400
981ed7
+++ nfs-utils-2.3.3/tools/rpcctl/rpcctl.py	2022-06-27 13:23:02.168004219 -0400
981ed7
@@ -213,7 +213,7 @@ class RpcClient:
981ed7
     def __init__(self, path):
981ed7
         self.path = path
981ed7
         self.name = path.stem
981ed7
-        self.switch = XprtSwitch(path / (path / "switch").readlink(), sep=",")
981ed7
+        self.switch = XprtSwitch(path / os.readlink(path / "switch"), sep=",")
981ed7
 
981ed7
     def __lt__(self, rhs):
981ed7
         return self.name < rhs.name