Skip to content

Commit

Permalink
Update functions.bash (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
JBG-brad authored Mar 20, 2024
1 parent fc16a1a commit c854ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/linux/functions.bash
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function get_linux_info {
send_log_to_logzio "$LOG_LEVEL_DEBUG" "$message" "$LOG_STEP_PRE_INIT" "$LOG_SCRIPT_AGENT" "$func_name" "$AGENT_ID"
write_log "$LOG_LEVEL_DEBUG" "$message"

local cpu_arch=$(uname -p 2>"$TASK_ERROR_FILE")
local cpu_arch=$(uname -m 2>"$TASK_ERROR_FILE")
if [[ $? -ne 0 ]]; then
message="agent.bash ($EXIT_CODE): error getting cpu arch: $(get_task_error_message)"
send_log_to_logzio "$LOG_LEVEL_ERROR" "$message" "$LOG_STEP_PRE_INIT" "$LOG_SCRIPT_AGENT" "$func_name" "$AGENT_ID"
Expand Down

0 comments on commit c854ad1

Please sign in to comment.