Skip to content

Commit

Permalink
Fix "showmount -e" parsing, not handling heading whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
SLB-DeN authored and cvaroqui committed Sep 17, 2018
1 parent 8bb8f75 commit b3157df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resShareNfsLinux.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def get_showmount(self):
idx = line.rindex(" ")
except IndexError:
continue
path = line[0:idx]
path = line[0:idx].strip()
ips = line[idx+1:].split(",")
if ips == ['(everyone)']:
ips = '*'
Expand Down

0 comments on commit b3157df

Please sign in to comment.