It is not possible using qcheck in a script by re-using qcheck's return value, as qcheck returns always 0. Reproducible: Always Steps to Reproduce: 1. Run qcheck on a "broken" package 2. Check the return value of qcheck Actual Results: The return value is 0 Expected Results: When running qcheck on a "broken" package, qcheck's return value should be > 0 This bash script code doesn't work due to qcheck' s current behaviour: for package in $(qlist -CI); do if qcheck ${package}; then true; else echo ${package} >> /tmp/qchecks; fi; done
added to cvs. thanks for the suggestion. http://sources.gentoo.org/gentoo-projects/portage-utils/qcheck.c?r1=1.44&r2=1.45