Please sign in to comment.
Wrap command execution with global error check
This wraps the base command execute function call with an error check so that all sub-commands that return an error will result in the main executable returning a non-zero exit code. This is especially useful in automated scripts for knowing if the k3sup command has failed. The error messages are already handled elsewhere, this is only to set and error exit code. Signed-off-by: Burton Rheutan <firstname.lastname@example.org>
- Loading branch information