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 exit codes #139

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from
Open

Fix exit codes #139

wants to merge 1 commit into from

Commits on Mar 18, 2022

  1. Fix exit codes

    Failed keychain executions always return success exit code. The problem
    is that although keychain detects the failures and issues 'exit 1', in the
    actions of the 'trap' builtin used to cleanup some lock files upon exit,
    keychain masks the previous exit code by performing another 'exit 0'.
    
    To fix that, remove 'exit 0' from the trap actions to preserve the
    previous exit code of an internal exit invocation.
    
    Signed-off-by: Manolis Androulidakis <[email protected]>
    manolis-andr committed Mar 18, 2022
    Configuration menu
    Copy the full SHA
    ced0785 View commit details
    Browse the repository at this point in the history