mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-26 15:02:03 +00:00
use domain api in sub shell.
This commit is contained in:
parent
6839de663f
commit
73b8b12016
6
le.sh
6
le.sh
@ -1041,6 +1041,7 @@ issue() {
|
|||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
(
|
||||||
if ! source $d_api ; then
|
if ! source $d_api ; then
|
||||||
_err "Load file $d_api error. Please check your api file and try again."
|
_err "Load file $d_api error. Please check your api file and try again."
|
||||||
return 1
|
return 1
|
||||||
@ -1056,6 +1057,11 @@ issue() {
|
|||||||
_err "Error add txt for domain:$txtdomain"
|
_err "Error add txt for domain:$txtdomain"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
)
|
||||||
|
|
||||||
|
if [[ "$?" != "0" ]] ; then
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
dnsadded='1'
|
dnsadded='1'
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user