Minor bug fix

Refer: 50593bb31c (r44408896)
pull/180/head
IceCodeNew 2020-11-22 02:00:31 +08:00
parent c3fa5d1217
commit a4a3bb4b53
1 changed files with 1 additions and 1 deletions

View File

@ -429,7 +429,7 @@ stop_v2ray() {
check_update() {
if [[ -f '/etc/systemd/system/v2ray.service' ]]; then
(get_version)
get_version
local get_ver_exit_code=$?
if [[ "$get_ver_exit_code" -eq '0' ]]; then
echo "info: Found the latest release of V2Ray $RELEASE_VERSION . (Current release: $CURRENT_VERSION)"