forked from freifunk-franken/firmware
fff-hoods: Suppress warning for missing sectorfile
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by: Tim Niemeyer <tim@tn-x.org>
This commit is contained in:
parent
90e0643b29
commit
56c07144f7
|
@ -227,7 +227,7 @@ if [ -s "$hoodfile" ]; then
|
|||
# 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
|
||||
cp "$hoodfile" "$hoodfilecopy"
|
||||
cp "$sectortmp" "$sectorcopy"
|
||||
[ -s "$sectortmp" ] && cp "$sectortmp" "$sectorcopy"
|
||||
|
||||
else
|
||||
echo "We have no new file. We do nothing. We try it again in 5 minutes...";
|
||||
|
|
Loading…
Reference in New Issue