mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-08-08 15:35:02 +02:00
### It's a "simple dirty fix" and I don't have any experiences with Go, so if this doesn't match your coding compliance, please adjust the code as needed I'm using bash scripts to register a token `./act_runner/act_runner register --no-interactive --name runner$number --instance http://localhost:3000 --token $token` But when a token is invalid, the command still returns 0, which is not practical for automation. A simple non-zero return would be more convenient for power users and developers. Co-authored-by: Markus Löffler <[email protected]> Co-authored-by: techknowlogick <[email protected]> Reviewed-on: https://gitea.com/gitea/act_runner/pulls/228 Reviewed-by: techknowlogick <[email protected]> Co-authored-by: MarkusLoeffler01 <[email protected]> Co-committed-by: MarkusLoeffler01 <[email protected]>