diff options
-rwxr-xr-x | image-writer-mac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/image-writer-mac b/image-writer-mac index f3f7bfb..23a8322 100755 --- a/image-writer-mac +++ b/image-writer-mac @@ -152,6 +152,8 @@ diskutil_name_cache = {} def diskutil_name(disk): if disk not in diskutil_name_cache: name = diskutil_info(disk)['Volume Name'] + if name.startswith("Not applicable"): + name = "" if name == "": for line in diskutil("list", disk): try: |