mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 23:16:56 +04:00
When token_script fails, proto_setup_failed() notifies netifd that
setup has failed, but script execution continues regardless.
This commit adds exit 1 and sleep 5 (consistent with wireguard.sh
error handling) to abort setup on token_script failure. Also fix
typo in logger tag ("openconenct" -> "openconnect").
Signed-off-by: Thomas Winkler <tewinkler86@gmail.com>