Merge pull request #20359 from patrickshan/develop

ignore null string from blkid output
This commit is contained in:
Joseph Hall 2015-02-05 11:55:22 -07:00
commit ab9ec6ba76

View File

@ -216,6 +216,8 @@ def blkid(device=None):
ret = {}
for line in __salt__['cmd.run_stdout']('blkid' + args, python_shell=False).split('\n'):
if not line:
continue
comps = line.split()
device = comps[0][:-1]
info = {}