mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
opkg_manager: add magic string to reset error flags
... to be used by sytem-update script
This commit is contained in:
committed by
svenhoefer
parent
3956f06d3a
commit
8a6194a047
@@ -933,6 +933,13 @@ void COPKGManager::handleShellOutput(string* cur_line, int* res, bool* ok)
|
||||
*ok = false;
|
||||
return;
|
||||
}
|
||||
/* hack */
|
||||
if (line.find("system-update: err_reset") != string::npos) {
|
||||
*res = OM_SUCCESS;
|
||||
*ok = true;
|
||||
has_err = false;
|
||||
return;
|
||||
}
|
||||
//unknown error
|
||||
if (*ok){
|
||||
dprintf(DEBUG_DEBUG, "[COPKGManager] [%s - %d] ERROR: unhandled error %s\n", __func__, __LINE__, line.c_str());
|
||||
|
Reference in New Issue
Block a user