From 86c017ec9d9a3c94e8b92425c7f851e4572c11c9 Mon Sep 17 00:00:00 2001 From: neil Date: Sat, 24 Sep 2016 14:17:04 +0800 Subject: [PATCH] fix deactivate return code --- acme.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/acme.sh b/acme.sh index 82b63bb..831f5ae 100755 --- a/acme.sh +++ b/acme.sh @@ -2863,7 +2863,9 @@ deactivate() { if [ -z "$_d_dm" ] || [ "$_d_dm" = "$NO_VALUE" ] ; then continue fi - _deactivate "$_d_dm" $_d_type + if ! _deactivate "$_d_dm" $_d_type ; then + return 1 + fi done }