2 Commits

Author SHA1 Message Date
Vladimir Botka
5bc3b23c7d Merge 8e34860d6c into 1b9ae1c77f 2024-11-21 20:58:08 +01:00
Vladimir Botka
8e34860d6c Fix #595. Remove comment from fstab entry on updating. 2024-11-21 20:54:27 +01:00

View File

@@ -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)