We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d86df0e commit 440ecb5Copy full SHA for 440ecb5
1 file changed
nxc/protocols/nfs.py
@@ -658,6 +658,9 @@ def ls(self):
658
if "resfail" in res and res["status"] == NFS3ERR_NOENT:
659
self.logger.fail(f"Unknown path: {self.args.ls!r}")
660
return
661
+ elif "resfail" in res:
662
+ self.logger.fail(f"Error on looking up path '{sub_path}': {NFSSTAT3[res['status']]}")
663
+ return
664
# If file then break and only display file
665
if res["resok"]["obj_attributes"]["attributes"]["type"] == NF3REG:
666
is_file = True
0 commit comments