3 # Patch managed by http://www.holgerschurig.de/patcher.html
10 p_userdata = userdata;
11 result = (cmd->fun)(conf, argc, argv);
12 - if ( result == 0 ) {
13 - ipkg_message(conf, IPKG_NOTICE, "Successfully terminated.\n");
15 + if ( result != 0 ) {
16 ipkg_message(conf, IPKG_NOTICE, "An error ocurred, return value: %d.\n", result);