mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 23:25:28 +01:00
Fix #595. Remove a comment if any.
This commit is contained in:
parent
f9837e4a07
commit
d702e0e2e1
1 changed files with 1 additions and 1 deletions
|
|
@ -303,7 +303,7 @@ def _set_mount_save_old(module, args):
|
|||
|
||||
continue
|
||||
|
||||
fields = line.split()
|
||||
fields = line.split('#')[0].split()
|
||||
|
||||
# Check if we got a valid line for splitting
|
||||
# (on Linux the 5th and the 6th field is optional)
|
||||
|
|
|
|||
Loading…
Reference in a new issue