Merge "The correct option for label name in fat and vfat is '-n'"

This commit is contained in:
Jenkins 2017-07-20 03:54:23 +00:00 committed by Gerrit Code Review
commit d66dbc679c
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ class FilesystemNode(NodeBase):
if self.opts:
cmd.extend(self.opts)
if self.type == "vfat":
if self.type in ('vfat', 'fat'):
cmd.extend(["-n", self.label])
else:
cmd.extend(["-L", self.label])