Merge pull request #102 from openappsec/main

Rebase
This commit is contained in:
WrightNed 2024-02-13 22:10:05 +02:00 committed by GitHub
commit e9c36c3bbf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1821,7 +1821,7 @@ run() # Initials - r
echo $var_policy_file
elif [ "-vl" = "$1" ] || [ "--view-logs" = "$1" ]; then
record_command $@
if ls /var/log/nano_agent/cp-nano-http-transaction-handler.log? 1>dev/null 2>&1; then
if ls /var/log/nano_agent/cp-nano-http-transaction-handler.log? 1>/dev/null 2>&1; then
less $LOG_FILE_PATH/nano_agent/cp-nano-http-transaction-handler.log?
else
echo "No logs found"