Files
poky/openembedded/packages/ipkg/files/terse.patch
Richard Purdie 4b46c1f6e8 Initial population
git-svn-id: https://svn.o-hand.com/repos/poky@1 311d38ba-8fff-0310-9ca6-ca027cbcb966
2005-08-31 10:45:47 +00:00

19 lines
469 B
Diff

#
# Patch managed by http://www.holgerschurig.de/patcher.html
#
--- C/ipkg_cmd.c~terse
+++ C/ipkg_cmd.c
@@ -148,9 +146,7 @@
int result;
p_userdata = userdata;
result = (cmd->fun)(conf, argc, argv);
- if ( result == 0 ) {
- ipkg_message(conf, IPKG_NOTICE, "Successfully terminated.\n");
- } else {
+ if ( result != 0 ) {
ipkg_message(conf, IPKG_NOTICE, "An error ocurred, return value: %d.\n", result);
}