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