Merge pull request #18 from jravetch/devel

mkfs.xfs uses -f instead of -F flag
This commit is contained in:
Michael DeHaan 2014-09-29 18:49:12 -04:00
commit 6b431b1db6

View file

@ -97,7 +97,7 @@ def main():
cmd = None cmd = None
if fstype in ['ext2', 'ext3', 'ext4', 'ext4dev']: if fstype in ['ext2', 'ext3', 'ext4', 'ext4dev']:
force_flag="-F" force_flag="-F"
elif fstype in ['btrfs']: elif fstype in ['xfs', 'btrfs']:
force_flag="-f" force_flag="-f"
else: else:
force_flag="" force_flag=""