]> git.proxmox.com Git - mirror_acme.sh.git/commitdiff
fix: correct return value
authorracitup <rich@racitup.com>
Mon, 20 Dec 2021 00:35:14 +0000 (00:35 +0000)
committerneil <github@neilpang.com>
Thu, 6 Jan 2022 09:41:41 +0000 (17:41 +0800)
dnsapi/dns_mythic_beasts.sh

index 3cff3b020daa015ec2ecb188c4990b47faadc01d..9de5d34c241ed1c97a61f92846379e26a00b2a84 100755 (executable)
@@ -168,10 +168,11 @@ _initAuth() {
 _oauth2() {
   printenv
   if [ -z "$TEST_DNS_SLEEP" ]; then
-    return _oauth2_std
+    _oauth2_std
   else
-    return _oauth2_github
+    _oauth2_github
   fi
+  return $?
 }
 
 _oauth2_std() {