diff --git a/__admin/linux_install_esptool.sh b/__admin/linux_install_esptool.sh index a8e9608..8252fac 100755 --- a/__admin/linux_install_esptool.sh +++ b/__admin/linux_install_esptool.sh @@ -98,8 +98,8 @@ # インストール後の検証 if has_cmd esptool || has_cmd esptool.py; then echo "esptool のインストールに成功しました:" - if has_cmd esptool; then esptool --version || true; fi - if has_cmd esptool.py; then esptool.py --version || true; fi + if has_cmd esptool; then esptool version || true; fi + if has_cmd esptool.py; then esptool.py version || true; fi # 非 root で --user インストールした場合、~/.local/bin を PATH に含める必要がある if ! has_cmd esptool && ! has_cmd esptool.py && [ -d "${HOME}/.local/bin" ]; then echo ""