Hello Bugs,

Stumbled upon this:

# pkg_add nonexistantpackage || echo false && echo true
Can't find nonexistantpackage
true

This makes it impossible to detect in an external script/program that
package installation failed when an invalid package name was passed to
pkg_add. I think it would make sense to return an error code in this
case?

Regards,

Mart

Reply via email to