aboutsummaryrefslogtreecommitdiff
path: root/checknow.awk
diff options
context:
space:
mode:
Diffstat (limited to 'checknow.awk')
-rw-r--r--checknow.awk5
1 files changed, 5 insertions, 0 deletions
diff --git a/checknow.awk b/checknow.awk
index 450490ee3768..8139ad57ecd2 100644
--- a/checknow.awk
+++ b/checknow.awk
@@ -50,5 +50,10 @@ END {
status = 1
}
}
+ if (now_out) {
+ for (data in zones) {
+ printf "%s=%s\n", now, zones[data] >>now_out
+ }
+ }
exit status
}