blob: 3c4d6bed7eddb2d68a4ce643a48a1f0add02dd3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#
# 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);
}
|