Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
ffho-packages
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Freifunk Hochstift
ffho-packages
Commits
2c9e7440
Commit
2c9e7440
authored
10 years ago
by
Stefan Kloepping
Browse files
Options
Downloads
Patches
Plain Diff
save report locally if sending to server failed
Signed-off-by:
Stefan Kloepping
<
nothalpha@c3pb.de
>
parent
41e6b9ad
No related branches found
Branches containing commit
No related tags found
1 merge request
!1
Master
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ffpb/ffpb-debug/files/bin/ffpb-debug
+3
-1
3 additions, 1 deletion
ffpb/ffpb-debug/files/bin/ffpb-debug
with
3 additions
and
1 deletion
ffpb/ffpb-debug/files/bin/ffpb-debug
+
3
−
1
View file @
2c9e7440
...
@@ -56,7 +56,9 @@ else
...
@@ -56,7 +56,9 @@ else
echo
"Report number: "
echo
"Report number: "
echo
$code
echo
$code
else
else
echo
"Failed to send report :("
echo
"Failed to send report :( but storing the file and sending it later
\o
/"
mkdir
-p
/var/cache/ff/debug
gzip
-c
"
$tf
"
>
/var/cache/ff/debug/stored.ff-debug.gz
fi
fi
#TODO: rm "$tf"
#TODO: rm "$tf"
fi
fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment