From d1512893528fc697adac3b1470be35cea36c2799 Mon Sep 17 00:00:00 2001 From: Helge Jung <hej@c3pb.de> Date: Sun, 29 Jun 2014 00:53:27 +0200 Subject: [PATCH] ffpb-debug: shorten output (now only 2 instead of 4 lines) --- ffpb/ffpb-debug/files/bin/ffpb-debug | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ffpb/ffpb-debug/files/bin/ffpb-debug b/ffpb/ffpb-debug/files/bin/ffpb-debug index ab97e48..e5c52b5 100755 --- a/ffpb/ffpb-debug/files/bin/ffpb-debug +++ b/ffpb/ffpb-debug/files/bin/ffpb-debug @@ -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 -- GitLab