Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(install): return error codes from install script #2664

Merged
merged 1 commit into from
Feb 23, 2024

Commits on Feb 22, 2024

  1. fix(install): actually return right error codes

    Previously exit was called with the stdout content of
    the main function. This did not make sense and
    resulted in the script not returning the expected
    exit codes when main returned a non-zero code.
    
    Strangely enough this broken code was introduced in
    response to anchore#1566 but I do not see how it ever worked
    unless the script used to echo its intended exit code.
    
    Signed-off-by: Stefan Hacker <mail@hacst.net>
    hacst committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    63d7744 View commit details
    Browse the repository at this point in the history