Closed arrelid closed 6 years ago
I use flash on macOS, so I wonder why this change is needed.
I just ran into this myself. The error only occurs when pv
is not installed. The change is needed because macOS expects a lowercase m in the block size argument to dd
(1m
instead of 1M
). The else branch here is hit when pv
is not installed, and has the block size hard-coded instead of using the bs_size
var.
Thanks for clarification. LGTM. Thanks @arrelid
Before this change, this wouldn't run on macOS.