fix(disk_util): Fix undefined variable introduce in 4dbdb391

This commit is contained in:
Michael Marineau 2014-03-06 12:41:07 -08:00
parent 4dbdb391a4
commit 87c0814006

View File

@ -439,8 +439,8 @@ def ResizeExt(part, device):
part: dict defining the partition
device: name of the block device
"""
Sudo(['e2fsck', '-p', '-f', loop_dev], stdout_null=True)
Sudo(['resize2fs', loop_dev, str(part['fs_blocks'])])
Sudo(['e2fsck', '-p', '-f', device], stdout_null=True)
Sudo(['resize2fs', device, str(part['fs_blocks'])])
def ResizeBtrfs(part, device):