diff options
Diffstat (limited to 'meta/packages/ipkg/files/terse.patch')
| -rw-r--r-- | meta/packages/ipkg/files/terse.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/packages/ipkg/files/terse.patch b/meta/packages/ipkg/files/terse.patch new file mode 100644 index 0000000000..3c4d6bed7e --- /dev/null +++ b/meta/packages/ipkg/files/terse.patch | |||
| @@ -0,0 +1,18 @@ | |||
| 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 | |||
