mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
gui/record_setup.cpp: avoid set empty timeshift dir
Origin commit data
------------------
Commit: 858fbd217e
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-05-01 (Thu, 01 May 2014)
This commit is contained in:
@@ -97,8 +97,8 @@ int CRecordSetup::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
timeshiftDir = g_settings.network_nfs_recordingdir + "/.timeshift";
|
||||
safe_mkdir(timeshiftDir.c_str());
|
||||
printf("New timeshift dir: %s\n", timeshiftDir.c_str());
|
||||
CRecordManager::getInstance()->SetTimeshiftDirectory(timeshiftDir);
|
||||
}
|
||||
CRecordManager::getInstance()->SetTimeshiftDirectory(timeshiftDir);
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
Reference in New Issue
Block a user