diff --git a/dnsapi/dns_nsd.sh b/dnsapi/dns_nsd.sh index da1868f6..9255c8b6 100644 --- a/dnsapi/dns_nsd.sh +++ b/dnsapi/dns_nsd.sh @@ -78,7 +78,7 @@ _increment_serial() { } else $6++ } - { print }' "$Nsd_ZoneFile" > "$tmpfile" || return 1 - awk '{print}' "$tmpfile" > "$Nsd_ZoneFile" + { print }' "$Nsd_ZoneFile" >"$tmpfile" || return 1 + awk '{print}' "$tmpfile" >"$Nsd_ZoneFile" rm -f "$tmpfile" }