From 9aadeef31baceddc998d9f56c6a25ac4bbe7adb7 Mon Sep 17 00:00:00 2001 From: Teddysun Date: Sun, 26 Apr 2020 23:20:33 +0900 Subject: [PATCH] Fixed issue #63 --- wireguard.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wireguard.sh b/wireguard.sh index 8d0bbbe..0098097 100644 --- a/wireguard.sh +++ b/wireguard.sh @@ -66,7 +66,7 @@ _exists() { else which "$cmd" > /dev/null 2>&1 fi - rt="$?" + local rt=$? return ${rt} }