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 9bd2e23..9ecc0fd 100755 --- a/osect_sensor/Infrastructure/edge_cron/work/ot_tools/bro.sh +++ b/osect_sensor/Infrastructure/edge_cron/work/ot_tools/bro.sh @@ -48,4 +48,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