only send loss if timestamp on data has changed

This commit is contained in:
m0duspwnens
2020-10-07 11:08:41 -04:00
parent f96d6ae4f4
commit 2317e8b348

View File

@@ -12,5 +12,5 @@ if [ -f "$ZEEKLOG" ]; then
echo "zeekcaptureloss loss=$LOSS"
fi
fi
echo "$CURRENTS" > "$LASTCAPTURELOSSLOG"
echo "$CURRENTS" > $LASTCAPTURELOSSLOG
fi