Add missing slash

Because of the missing slash, it was not possible to create the log file.
This commit is contained in:
Benjamin Richter 2024-02-05 00:08:13 +01:00 committed by GitHub
parent 9f8535c0f7
commit f06600605a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1817,7 +1817,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"