mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
opkg_manager: add magic string to reset error flags
... to be used by sytem-update script
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8a6194a047
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-01-29 (Sun, 29 Jan 2017)
------------------
This commit was generated by Migit
This commit is contained in:
committed by
vanhofen
parent
1427653dc0
commit
4c6b31e3f7
@@ -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