1
mirror of https://git.dn42.dev/wiki/wiki.git synced 2025-03-05 01:53:03 +01:00

fix: remove typo semi-colons in roa auto update script example

This commit is contained in:
burble.dn42 wiki mirror (uk-lon1) 2025-01-18 14:59:08 +00:00
parent 074861c30f
commit e16ae91eb3

@ -337,11 +337,11 @@ roa6FILE="/etc/bird/roa/roa_dn42_v6.conf"
cp "${roa4FILE}" "${roa4FILE}.old"
cp "${roa6FILE}" "${roa6FILE}.old"
if curl -f -o "${roa4FILE}.new" "${roa4URL};" ;then
if curl -f -o "${roa4FILE}.new" "${roa4URL}" ;then
mv "${roa4FILE}.new" "${roa4FILE}"
fi
if curl -f -o "${roa6FILE}.new" "${roa6URL};" ;then
if curl -f -o "${roa6FILE}.new" "${roa6URL}" ;then
mv "${roa6FILE}.new" "${roa6FILE}"
fi