From d343e212cd9ecfd7a91b00f1e227243ab222fbcd Mon Sep 17 00:00:00 2001 From: Alexander Neff Date: Thu, 13 Mar 2025 14:41:54 +0100 Subject: [PATCH] Fix NFS indent for share listing --- 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 2a4fb0bf..f8a5b6c8 100644 --- a/nxc/protocols/nfs.py +++ b/nxc/protocols/nfs.py @@ -262,7 +262,7 @@ class nfs(connection): read_perm, write_perm, exec_perm = self.get_permissions(file_handle) self.mount.umnt(self.auth) - 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):<9} {share:<30} {', '.join(network) if network else 'No network':<15}") + 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}") except Exception as e: self.logger.fail(f"Failed to list share: {share} - {e}")