Skip to content
Snippets Groups Projects
Commit d1512893 authored by Helge Jung's avatar Helge Jung
Browse files

ffpb-debug: shorten output (now only 2 instead of 4 lines)

parent 758015cd
No related branches found
No related tags found
No related merge requests found
......@@ -49,14 +49,12 @@ if $local ; then
else
exec >&3 2>&1
echo "Report stored in: $tf"
echo "Sending report to ffpb-team ..."
echo "Sending report (stored in $tf) to ffpb-team ..."
HOST=$(lua -e 'print(require("gluon.site_config").debugserver.host)')
PORT=$(lua -e 'print(require("gluon.site_config").debugserver.port)')
code=`gzip -c $tf | nc $HOST $PORT`
if [ $? -eq 0 ]; then
echo "Report number: "
echo $code
echo "Report-ID: $code"
else
echo "Failed to send report :( but storing the file and sending it later \o/"
mkdir -p /var/cache/ff/debug
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment