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

[collect] Fix exception when using collect with batch and password #3840

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

Commits on Nov 15, 2024

  1. [collect] Fix exception when using collect with batch and password

    Using --batch --password together in sos-collect leads to an error:
    
    Unable to open remote session:
    unsupported operand type(s) for +: 'bool' and 'str'
    
    This PR removes the check for the batch option, enabling
    the prompt for password as specified in the man page:
    
      --batch
          Run in non-interactive mode.
         This will skip prompts for user input,  with  the
         exception  of  a prompt for the SSH password.
    
    Related: sosreport#3839
    
    Signed-off-by: Jose Castillo <[email protected]>
    jcastill committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    105c250 View commit details
    Browse the repository at this point in the history