Skip to content

Commit 96a8ed2

Browse files
committed
fix group_names if returns empty
1 parent 4e8d650 commit 96a8ed2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/protocols/nfs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def export_info(self, export_nodes):
203203
for node in export_nodes:
204204

205205
# Collect the names of the groups associated with this export node
206-
group_names = self.group_names(node.ex_groups)
206+
group_names = self.group_names(node.ex_groups) or ["Everyone"]
207207
networks.append(group_names)
208208

209209
# If there are more export nodes, process them recursively. More than one share.

0 commit comments

Comments
 (0)