realwallpaper: don't fail on fetch error

This commit is contained in:
lassulus 2022-05-28 16:34:01 +02:00
parent ea3c3d52f7
commit c79ecd830f

View file

@ -122,7 +122,7 @@ pkgs.writers.writeDashBin "generate-wallpaper" ''
'https://neo.sci.gsfc.nasa.gov/view.php?datasetId=MOD14A1_E_FIRE') &
# regular fetches
fetch marker.json.tmp "$marker_url"
fetch marker.json.tmp "$marker_url" || :
if [ -s marker.json.tmp ]; then
mv marker.json.tmp marker.json
fi