mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
driver/record.cpp: fix temp timeshift file delete cmd
Origin commit data
------------------
Commit: 2d0642d36d
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-09-13 (Thu, 13 Sep 2012)
This commit is contained in:
@@ -224,7 +224,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), "nice -n 20 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