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 varstore-sb-state exit code #21

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

Commits on Oct 25, 2023

  1. Fix varstore-sb-state exit code

    In 'user' mode, varstore-sb-state exit code is the returned value of the
    function setup_keys() which returns true on success and false otherwise.
    The exit code is then 1 on success and 0 on failure, the opposite of the
    'setup' mode.
    
    This patch fixes the exit code, returning 0 when setup_keys() succeeds
    and 1 otherwise.
    
    Signed-off-by: Thierry Escande <thierry.escande@vates.tech>
    tescande committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    ccc4ecc View commit details
    Browse the repository at this point in the history