aboutsummaryrefslogtreecommitdiffstats
path: root/packages/ipkg/ipkg-0.99.130/terse.patch
blob: 9a07df5df302d5a2bcc37c21ad48a2062114e7dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#
# Patch managed by http://www.holgerschurig.de/patcher.html
#

--- C/ipkg_cmd.c~terse
+++ C/ipkg_cmd.c
@@ -119,8 +119,6 @@
 		       "  writing status file\n");
 	  ipkg_conf_write_status_files(conf);
 	  pkg_write_changed_filelists(conf);
-     } else { 
-	  ipkg_message(conf, IPKG_NOTICE, "Nothing to be done\n");
      }
 }
 
@@ -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);
         }