From c8ff23c9d08abdeb4a5052f3c3d5c9a54bfc4134 Mon Sep 17 00:00:00 2001 From: 233boy <31657650+233boy@users.noreply.github.com> Date: Mon, 25 Mar 2019 19:07:59 +0800 Subject: [PATCH] fix bug --- src/status.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status.sh b/src/status.sh index 15ca5dd..ef3bba6 100644 --- a/src/status.sh +++ b/src/status.sh @@ -3,7 +3,7 @@ _check_status() { if [[ ! $(pgrep -f /usr/bin/v2ray/v2ray) ]]; then _err_msg fi - if [[ $v2ray_transport == [45] && $caddy ]] && [[ ! $(pgrep -f /usr/bin/v2ray/v2ray) ]]; then + if [[ $v2ray_transport == [45] && $caddy ]] && [[ ! $(pgrep -f /usr/local/bin/caddy) ]]; then _err_msg "Caddy" fi }