返回最终执行结构

This commit is contained in:
若海 committed 2021-03-03 10:14:29 +08:00
1 parent fd49ec9cea
commit 8cbf29bee5
1 file changed
+4
+4
View File
@@ -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
}