From 267ed03f4dbf5bd18afd06bd33237b4080a41ed4 Mon Sep 17 00:00:00 2001 From: shamilbi Date: Fri, 23 Jun 2023 21:11:59 +0200 Subject: [PATCH] fix: mkexfatfs test fail --- INSTALL/tool/ventoy_lib.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/INSTALL/tool/ventoy_lib.sh b/INSTALL/tool/ventoy_lib.sh index 710cc37f..d72ad63d 100644 --- a/INSTALL/tool/ventoy_lib.sh +++ b/INSTALL/tool/ventoy_lib.sh @@ -60,7 +60,8 @@ check_tool_work_ok() { return fi - if mkexfatfs -V > /dev/null; then + # exfatprogs-1.2.1: mkexfatfs -V returns 1 instead of 0 + if [ ! -z "$(command -v mkexfatfs)" ]; then vtdebug "mkexfatfs test ok ..." else vtdebug "mkexfatfs test fail ..."