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

Version option should return 0 rather than 1 #327

Merged
merged 1 commit into from
Aug 12, 2024

Commits on Aug 12, 2024

  1. Version option should return 0 rather than 1

    Previously invoke irqbalance with --version options, the return value
    is 1 instead of 0:
    
    $ irqbalance --version
    irqbalance version 1.9.4
    $ echo $?
    1
    
    It is unexpected because irqbalance have successfully returned the
    version string with no errors, so 0 should be returned instead of 1.
    This will confuse some automation tests.
    
    This patch will make irqbalance return the correct value for version
    option.
    
    Signed-off-by: Tao Liu <ltao@redhat.com>
    liutgnu committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    5d9eb19 View commit details
    Browse the repository at this point in the history