diff --git a/logger.sh b/logger.sh index b1448a4..4fb1796 100644 --- a/logger.sh +++ b/logger.sh @@ -95,7 +95,6 @@ writeJsonLog() { --arg code "${5:999}" \ '{"timestamp":$timestamp, "hostname":$hostname, "programName":$pName, "pid":$pid, "level":$level, "status":$status, "message":$message, "operation":$operation, "code":$code}' \ )" - fi echo "$PROPS" | jq "." return @@ -119,7 +118,6 @@ MESSAGE="$1" OPERATION="${4:UNSPECIFIED}" ERRNO="${5:999}" end - fi return }