|
@@ -386,7 +386,7 @@ main(){
|
|
|
V2RAY_RUNNING=1
|
|
V2RAY_RUNNING=1
|
|
|
stopV2ray
|
|
stopV2ray
|
|
|
fi
|
|
fi
|
|
|
- installV2Ray
|
|
|
|
|
|
|
+ installV2Ray || return $?
|
|
|
installInitScript
|
|
installInitScript
|
|
|
if [[ ${V2RAY_RUNNING} -eq 1 ]];then
|
|
if [[ ${V2RAY_RUNNING} -eq 1 ]];then
|
|
|
colorEcho ${BLUE} "Restarting V2Ray service."
|
|
colorEcho ${BLUE} "Restarting V2Ray service."
|