mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-01 02:34:12 +00:00
Don't rely on the IS_RENEW variable
This commit is contained in:
parent
550fb93ddd
commit
edfaadc381
@ -261,10 +261,13 @@ rancher_deploy() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
_debug IS_RENEW "$IS_RENEW"
|
_debug IS_RENEW "$IS_RENEW"
|
||||||
if [ "$IS_RENEW" == "1" ] ; then
|
# if [ -n "$IS_RENEW" ] ; then
|
||||||
_rancher_renew
|
_rancher_renew
|
||||||
else
|
# else
|
||||||
_rancher_deploy
|
# _rancher_deploy
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
|
_rancher_renew || _rancher_deploy
|
||||||
|
|
||||||
return $?
|
return $?
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user