mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
neutrino: fix up non-extupdate build
this complements commit 5b72a7fe3c
after recent changes
This commit is contained in:
@@ -591,9 +591,11 @@ void CFlashExpert::readmtd(int preadmtd)
|
||||
std::string hostName = netGetHostname();
|
||||
std::string timeStr = getNowTimeStr("_%Y%m%d_%H%M");
|
||||
|
||||
#if ENABLE_EXTUPDATE
|
||||
if (g_settings.softupdate_name_mode_backup == CExtUpdate::SOFTUPDATE_NAME_HOSTNAME_TIME)
|
||||
filename = (std::string)g_settings.update_dir + "/" + mtdInfo->getMTDName(preadmtd) + timeStr + "_" + hostName + ".img";
|
||||
else
|
||||
#endif
|
||||
filename = (std::string)g_settings.update_dir + "/" + mtdInfo->getMTDName(preadmtd) + timeStr + ".img";
|
||||
|
||||
if (preadmtd == -1) {
|
||||
|
Reference in New Issue
Block a user