Skip to content

Commit

Permalink
返回最终执行结构
Browse files Browse the repository at this point in the history
  • Loading branch information
若海 committed Mar 3, 2021
1 parent fd49ec9 commit 8cbf29b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ardnspod
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,10 @@ arDdnsCheck() {
echo "Updating Record for $2.$1"
postRs=$(arDdnsUpdate $ddnsIds $2 $hostIp $recordType)

errCode=$?
echo "> $postRs"
if [ $errCode -ne 0 ]; then
return 1
fi

}

0 comments on commit 8cbf29b

Please sign in to comment.