Update le-cloudxns.sh

This commit is contained in:
tianyu 2016-02-02 13:36:04 +08:00
parent be922f8fc6
commit 342ec84f82
1 changed files with 6 additions and 5 deletions

View File

@ -2,12 +2,13 @@
export CONFIG=$1 export CONFIG=$1
if [ ! -f "$CONFIG" ];then if [ -f "$CONFIG" ];then
echo "ERROR, CONFIG NOT EXIST." . $CONFIG
cd $(dirname $CONFIG)
else
echo "ERROR CONFIG."
exit 1 exit 1
fi fi
. $CONFIG
echo "$CERT_DOMAINS" > domains.txt echo "$CERT_DOMAINS" > domains.txt