mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #23144 from rallytime/bp-23124-2014-7
Backport #23124 to 2014.7
This commit is contained in:
commit
c85d36fd29
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ def list_(device, unit=None):
|
|||
else:
|
||||
cmd = 'parted -m -s {0} print'.format(device)
|
||||
|
||||
out = __salt__['cmd.run'](cmd).splitlines()
|
||||
out = __salt__['cmd.run_stdout'](cmd).splitlines()
|
||||
ret = {'info': {}, 'partitions': {}}
|
||||
mode = 'info'
|
||||
for line in out:
|
||||
|
|
Loading…
Add table
Reference in a new issue