From 96a8ed2d02ce652bfa69db6ab3b4f9b073f2ff87 Mon Sep 17 00:00:00 2001 From: termanix Date: Mon, 21 Jul 2025 03:36:24 -0400 Subject: [PATCH] fix group_names if returns empty --- nxc/protocols/nfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nxc/protocols/nfs.py b/nxc/protocols/nfs.py index 27b4afd0..7e816841 100644 --- a/nxc/protocols/nfs.py +++ b/nxc/protocols/nfs.py @@ -203,7 +203,7 @@ class nfs(connection): for node in export_nodes: # Collect the names of the groups associated with this export node - group_names = self.group_names(node.ex_groups) + group_names = self.group_names(node.ex_groups) or ["Everyone"] networks.append(group_names) # If there are more export nodes, process them recursively. More than one share.