Remove '-s' (--script) argument to parted within align_check function

The -s argument results in no stdout output from parted in this context,
so the user must infer success or failure from the exit status.
This commit is contained in:
Richard Phillis 2017-07-26 09:15:59 +10:00
parent de2f397041
commit c4fabaa192

View file

@ -216,7 +216,7 @@ def align_check(device, part_type, partition):
'Invalid partition passed to partition.align_check'
)
cmd = 'parted -m -s {0} align-check {1} {2}'.format(
cmd = 'parted -m {0} align-check {1} {2}'.format(
device, part_type, partition
)
out = __salt__['cmd.run'](cmd).splitlines()