diff --git a/Config/Web/acme.sh b/Config/Web/acme.sh index 3b4f7ff..3d4dfcc 100644 --- a/Config/Web/acme.sh +++ b/Config/Web/acme.sh @@ -55,9 +55,9 @@ read -p "请选择验证模式:" pick_mode case $pick_mode in '1') declare mode - if ! command -v nginx &> /dev/null; then + if command -v nginx &> /dev/null; then mode="nginx" - elif ! command -v apache &> /dev/null; then + elif command -v apache &> /dev/null; then mode="apache" else mode="standalone"