NetBSDfr / pkgin

pkgin's official github repository
130 stars 40 forks source link

verbose mode is completely wrong #102

Open jperkin opened 4 years ago

jperkin commented 4 years ago

The -V flag is supposed to enable verbose mode during install and uninstall.

However, due to the way the verbosity flag is checked, it actually does the complete opposite. While it turns on the -v flag to pkg_add and pkg_delete, the output for those programs is now no longer written to the pkg_install-err.log file, and the file is no longer checked for warnings/errors.

Fixing this will change the default output, so needs to be considered how that may affect end users.