r3934 - trunk/src/target/opkg
thomas at sita.openmoko.org
thomas at sita.openmoko.org
Wed Jan 23 13:14:21 CET 2008
Author: thomas
Date: 2008-01-23 13:14:20 +0100 (Wed, 23 Jan 2008)
New Revision: 3934
Modified:
trunk/src/target/opkg/opkg_cmd.c
Log:
opkg: don't print "Successfully terminated." message
Modified: trunk/src/target/opkg/opkg_cmd.c
===================================================================
--- trunk/src/target/opkg/opkg_cmd.c 2008-01-23 10:49:18 UTC (rev 3933)
+++ trunk/src/target/opkg/opkg_cmd.c 2008-01-23 12:14:20 UTC (rev 3934)
@@ -153,12 +153,11 @@
result = (cmd->fun)(conf, argc, argv);
- if ( result == 0 ) {
- opkg_message(conf, OPKG_NOTICE, "Successfully terminated.\n");
- } else {
- opkg_message(conf, OPKG_NOTICE, "An error ocurred, return value: %d.\n", result);
+ if ( result != 0 ) {
+ opkg_message(conf, OPKG_NOTICE, "An error ocurred, return value: %d.\n", result);
}
+
if ( error_list ) {
reverse_error_list(&error_list);
More information about the commitlog
mailing list