]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/ipkg/files/terse.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / ipkg / files / terse.patch
1
2 #
3 # Patch managed by http://www.holgerschurig.de/patcher.html
4 #
5
6 --- C/ipkg_cmd.c~terse
7 +++ C/ipkg_cmd.c
8 @@ -148,9 +146,7 @@
9         int result;
10         p_userdata = userdata;
11         result = (cmd->fun)(conf, argc, argv);
12 -        if ( result == 0 ) {
13 -           ipkg_message(conf, IPKG_NOTICE, "Successfully terminated.\n");
14 -        } else {
15 +        if ( result != 0 ) {
16             ipkg_message(conf, IPKG_NOTICE, "An error ocurred, return value: %d.\n", result);
17          }
18