* Holger Levsen <[email protected]>, 2013-05-17, 14:16:
It would be good to print a warning if adequate exits with non-zero exit code. As as said on IRC, this would normally indicate a bug in adequate itself, but let's not sweep such bugs under the carpet. :) </wishlist>
right. do you know a way to force adequate like this? Or will I have to link it to false to test my code? :)

Maybe ask it to check a non-existent package:

$ adequate piupartz
dpkg-query: no packages found matching piupartz
dpkg-query -W: failed at /usr/bin/adequate line 174.
$ echo $?
1

--
Jakub Wilk


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to