Line break

This commit is contained in:
Martin Lablans 2022-10-06 10:33:04 +02:00
parent ab201c3db5
commit 1413b93010
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ function hc_send(){
fi
if [ -n "$2" ]; then
MSG="$2\n\nDocker stats: $UPTIME"
MSG="$2\n\nDocker stats:\n$UPTIME"
echo -e "$MSG" | https_proxy=$HTTPS_PROXY_URL curl -s -o /dev/null -X POST --data-binary @- "$HCURL"/"$1" || log WARN "Monitoring failed: Unable to send data to $HCURL/$1"
else
https_proxy=$HTTPS_PROXY_URL curl -s -o /dev/null "$HCURL"/"$1" || log WARN "Monitoring failed: Unable to send data to $HCURL/$1"