Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion nfs-get.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def main():

o = urlparse(nfs_path)

host = o.netloc
host = o.hostname
uri = o.path

portmapper_port = 111
Expand All @@ -63,6 +63,7 @@ def main():
mount_path = mountpoint["path"]
file_handle = mount.mnt(mountpoint["path"])["file_handle"]
file_type = 2
break

if file_handle == None:
mount.disconnect()
Expand Down