Update 661.sh

This commit is contained in:
甬哥侃侃侃ygkkk 2023-03-02 04:15:15 +00:00
parent a53df37a98
commit ef8aa847bf
1 changed files with 2 additions and 2 deletions

4
661.sh
View File

@ -1596,9 +1596,9 @@ esac
}
if [ $# == 0 ]; then
start
if [[ $(type -P warp-go) || $(type -P warp-cli) ]] && [[ -f '/root/661.sh' ]]; then
if [[ -n $(type -P warp-go) || -n $(type -P warp-cli) ]] && [[ -f '/root/661.sh' ]]; then
ONEWARPGO
elif [[ $(type -P wg-quick) || $(type -P warp-cli) ]] && [[ -f '/root/661.sh' ]]; then
elif [[ -n $(type -P wg-quick) || -n $(type -P warp-cli) ]] && [[ -f '/root/661.sh' ]]; then
ONEWGCFWARP
else
startCFwarp