From d702e0e2e1feb0c25f8582406308864c3488241f Mon Sep 17 00:00:00 2001 From: Vladimir Botka Date: Thu, 21 Nov 2024 20:09:54 +0100 Subject: [PATCH] Fix #595. Remove a comment if any. --- plugins/modules/mount.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/mount.py b/plugins/modules/mount.py index 1c3936e..f39eb7e 100644 --- a/plugins/modules/mount.py +++ b/plugins/modules/mount.py @@ -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)