Hello, I recently started comparing package managers according to their usage and I encountered some strange behavior. Searchings non existing package: emerge -S non-existing-package It gives me an exit code 0, but others like apt, dnf, pacman, ... returns non 0 value (error), which I think is also appropriate. Is this behavior a bug or is it intentional, if so why? Such behavior would be easy to combine in a scripts instead of checking the output text on STDOUT. Thanks for any reply.
It supports multiple search strings, so in the case of multiple, should it return 0 if any string matches something, or only return 0 if all strings match something?
(In reply to Zac Medico from comment #1) > It supports multiple search strings, so in the case of multiple, should it > return 0 if any string matches something, or only return 0 if all strings > match something? I think it should return 0 if something matched.