Skip to content

Commit

Permalink
fix bug when deleting log
Browse files Browse the repository at this point in the history
  • Loading branch information
helenwangjia committed Oct 25, 2023
1 parent 1ba7c1b commit c90e137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osect_sensor/Infrastructure/edge_cron/work/ot_tools/bro.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ if [ $5 = "True" ]; then
merge_log "modbus_detailed.*.log" "modbus_detailed.log"
fi

rm $(find /usr/local/zeek/logs -name "*.log")
find /usr/local/zeek/logs -name "*.log" -print0 | xargs -0 rm

0 comments on commit c90e137

Please sign in to comment.