aboutsummaryrefslogtreecommitdiffstats
path: root/config.sh
diff options
context:
space:
mode:
authorGravatar Tom Willemse2022-06-18 20:56:33 -0700
committerGravatar Tom Willemse2022-06-18 20:56:33 -0700
commit565813b43ef351489bf1278679d45006e7c2634c (patch)
tree445af89d84a416303894917b6bf4e072b6b29851 /config.sh
parentbf6ee3888ba9e19f862e76dfb14fbe9cf56ad6c3 (diff)
downloadupdate-mirrors-565813b43ef351489bf1278679d45006e7c2634c.tar.gz
update-mirrors-565813b43ef351489bf1278679d45006e7c2634c.zip
Don't write the mirrorlist if it can't be downloaded
Before if the ‘curl’ command failed, it wouldn't send any output to sed, which would succeed, and that would go into the destination file. Now we check the status explicitly before moving on and print a message when ‘curl’ fails.
Diffstat (limited to 'config.sh')
0 files changed, 0 insertions, 0 deletions