diff --git a/osect_sensor/Infrastructure/edge_cron/work/ot_tools/bro.sh b/osect_sensor/Infrastructure/edge_cron/work/ot_tools/bro.sh index 0407623..cd6fea9 100755 --- a/osect_sensor/Infrastructure/edge_cron/work/ot_tools/bro.sh +++ b/osect_sensor/Infrastructure/edge_cron/work/ot_tools/bro.sh @@ -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