realwallpaper: don't fail on fetch error
This commit is contained in:
parent
ea3c3d52f7
commit
c79ecd830f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user