Skip to content

Commit 024ff0a

Browse files
authored
Merge pull request Pennyw0rth#645 from bandrel/nfs-fstring-bug
Update nfs.py
2 parents 5e08f53 + 3ebec37 commit 024ff0a

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
@@ -262,7 +262,7 @@ def shares(self):
262262

263263
read_perm, write_perm, exec_perm = self.get_permissions(file_handle)
264264
self.mount.umnt(self.auth)
265-
self.logger.highlight(f"{self.auth['uid']:<11}{'r' if read_perm else '-'}{'w' if write_perm else '-'}{('x' if exec_perm else '-'):<7}{convert_size(used_space) + "/" + convert_size(total_space):<16} {share:<30} {', '.join(network) if network else 'No network':<15}")
265+
self.logger.highlight(f"{self.auth['uid']:<11}{'r' if read_perm else '-'}{'w' if write_perm else '-'}{('x' if exec_perm else '-'):<7}{convert_size(used_space) + '/' + convert_size(total_space):<16} {share:<30} {', '.join(network) if network else 'No network':<15}")
266266
except Exception as e:
267267
self.logger.fail(f"Failed to list share: {share} - {e}")
268268

0 commit comments

Comments
 (0)