diff --git a/library/system/filesystem b/library/system/filesystem index 698c71d4534..46e798f6e81 100644 --- a/library/system/filesystem +++ b/library/system/filesystem @@ -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()