Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
nagibator_archivator 2025-12-15 15:53:00 +03:00 committed by GitHub
parent 5bd52eff0c
commit e301c15cef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -162,7 +162,7 @@ if [ "${0##*/}" = "xray-tools.sh" ]; then
echo "Usage:" echo "Usage:"
echo " $0 install_xray_core TARGETARCH XRAYDIR XRAY_VERSION" echo " $0 install_xray_core TARGETARCH XRAYDIR XRAY_VERSION"
echo " $0 update_geodata_in_docker XRAYDIR" echo " $0 update_geodata_in_docker XRAYDIR"
exit 1 exit 0
;; ;;
*) *)
echo "Unknown command: $cmd" >&2 echo "Unknown command: $cmd" >&2