Skip to content
Snippets Groups Projects
Commit 56c07144 authored by Adrian Schmutzler's avatar Adrian Schmutzler Committed by Tim Niemeyer
Browse files

fff-hoods: Suppress warning for missing sectorfile


Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: default avatarTim Niemeyer <tim@tn-x.org>
parent 90e0643b
No related branches found
No related tags found
No related merge requests found
...@@ -227,7 +227,7 @@ if [ -s "$hoodfile" ]; then ...@@ -227,7 +227,7 @@ if [ -s "$hoodfile" ]; then
# copy the file to webroot so that other mesh routers can download it; # copy the file to webroot so that other mesh routers can download it;
# copy only after all other steps so IF can be reentered if something goes wrong # copy only after all other steps so IF can be reentered if something goes wrong
cp "$hoodfile" "$hoodfilecopy" cp "$hoodfile" "$hoodfilecopy"
cp "$sectortmp" "$sectorcopy" [ -s "$sectortmp" ] && cp "$sectortmp" "$sectorcopy"
else else
echo "We have no new file. We do nothing. We try it again in 5 minutes..."; echo "We have no new file. We do nothing. We try it again in 5 minutes...";
......
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