mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
delete with system(rm)
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2157 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -226,7 +226,7 @@ bool CRecordInstance::Stop(bool remove_event)
|
||||
CCamManager::getInstance()->Stop(channel_id, CCamManager::RECORD);
|
||||
|
||||
if((autoshift && g_settings.auto_delete) /* || autoshift_delete*/) {
|
||||
snprintf(buf,sizeof(buf), "rm -f %s.ts &", filename);
|
||||
snprintf(buf,sizeof(buf), "nice -n 20 rm -f %s.ts &", filename);
|
||||
system(buf);
|
||||
snprintf(buf,sizeof(buf), "%s.xml", filename);
|
||||
//autoshift_delete = false;
|
||||
|
Reference in New Issue
Block a user