1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #6175 from AdmiralNemo/fix-filesystem

filesystem: Ignore blkid cache
This commit is contained in:
Michael DeHaan 2014-03-16 12:31:53 -05:00
commit 8a07d98f4b

View file

@ -79,7 +79,7 @@ def main():
cmd = module.get_bin_path('blkid', required=True)
rc,raw_fs,err = module.run_command("%s -o value -s TYPE %s" % (cmd, dev))
rc,raw_fs,err = module.run_command("%s -c /dev/null -o value -s TYPE %s" % (cmd, dev))
fs = raw_fs.strip()