Skip to content

Commit

Permalink
src/winusb: check_target_filesystem: Fix wrong parameter
Browse files Browse the repository at this point in the history
Signed-off-by: 林博仁 <[email protected]>
  • Loading branch information
brlin-tw committed Jun 5, 2017
1 parent 3a0cd93 commit 5d89ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/winusb
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ check_target_filesystem(){
"${target_partition}"\
)"

if [ "${target_partition}" != "vfat" ]; then
if [ "${target_filesystem}" != "vfat" ]; then
echo_with_color "${FUNCNAME[0]}: Error: Target filesystem not supported, currently supported filesystem: FAT"
return 1
fi
Expand Down

0 comments on commit 5d89ef9

Please sign in to comment.