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

podman detection prints unnecessary outputs to stderr. #5768

Closed
judovana opened this issue Nov 21, 2024 · 1 comment · Fixed by #5765
Closed

podman detection prints unnecessary outputs to stderr. #5768

judovana opened this issue Nov 21, 2024 · 1 comment · Fixed by #5765

Comments

@judovana
Copy link
Contributor

judovana commented Nov 21, 2024

When podman existence is detected (#5460), it is using which command, which confirms existence of command on path by printing the full path to stdout. If it is not found, the path is print to stderr.

root@jvanek:/home/jvanek# which docker
/usr/bin/docker
root@jvanek:/home/jvanek# which nonsense
/usr/bin/which: no nonsense in (/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/lib/snapd/snap/bin)

Where the stdout is handled correctly, the stderr was missed

@judovana
Copy link
Contributor Author

#5765

@github-project-automation github-project-automation bot moved this from Todo to Done in Adoptium Backlog Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant