fix: CP-Error
Signed-off-by: Blackyfff <blackyfff@noreply.git.freifunk-franken.de>
This commit is contained in:
parent
d239c93c26
commit
90a6a208fa
|
@ -59,7 +59,7 @@ rm -f "$TempFolder""$ExternalView"".conf"
|
|||
|
||||
CachedMasterFile="$TempFolder""cache/db.""$CommunityDomain"
|
||||
PreFetchMasterSerial="$(GetZoneFileSerial "$CachedMasterFile")"
|
||||
$(curl -s -S -f "$RemoteLocation""db.""$CommunityDomain" --output "$CachedMasterFile" && [ -f $CachedMasterFile" ] && echo "" >> $CachedMasterFile")
|
||||
$(curl -s -S -f "$RemoteLocation""db.""$CommunityDomain" --output "$CachedMasterFile" && [ -f "$CachedMasterFile" ] && echo "" >> "$CachedMasterFile")
|
||||
PostFetchMasterSerial="$(GetZoneFileSerial "$CachedMasterFile")"
|
||||
ServeMasterZone="$( GetAllZoneNameservers "$CommunityDomain" "$CachedMasterFile" | awk '{for(i=NF;i>0;--i) if($i=="'"$DNSSCRIPT_SERVER_NAME"'") {printf 1}}')"
|
||||
if [ -n "$CommunityExternDomain" ]; then
|
||||
|
|
Loading…
Reference in New Issue