mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
15500a07f8
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>