Skip to content
Snippets Groups Projects
Commit a5668f79 authored by Benjamin Koch's avatar Benjamin Koch
Browse files

avoid error in local mode

parent 0fd075bf
No related branches found
No related tags found
No related merge requests found
......@@ -41,11 +41,11 @@ cmd iw dev wlan0 station dump
cmd batctl gwl
cmd logread
exec >&3 2>&3
if $local ; then
echo "No information has been sent to the ffpb-team."
else
exec >&3 2>&1
echo "Report stored in: $tf"
echo "Sending report to ffpb-team ..."
code=`gzip -c $tf | nc debugreport.paderborn.freifunk.net 1337`
......
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