mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
use my_system instead of system
Origin commit data
------------------
Commit: bb2efeb45b
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-10-02 (Tue, 02 Oct 2012)
This commit is contained in:
@@ -231,8 +231,8 @@ 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);
|
||||
system(buf);
|
||||
snprintf(buf,sizeof(buf), "\"%s.ts\"", filename);
|
||||
my_system("nice", "-n20", "rm", "-f", buf);
|
||||
snprintf(buf,sizeof(buf), "%s.xml", filename);
|
||||
//autoshift_delete = false;
|
||||
unlink(buf);
|
||||
|
Reference in New Issue
Block a user