don't check if backup status should be set if torrent is not active
This commit is contained in:
parent
5fd2266da8
commit
3273b2cc22
|
@ -220,7 +220,7 @@ void completenessChangeCallback(tr_torrent * torrent, cp_status_t status, void *
|
|||
|
||||
#warning find a better way
|
||||
//check if the file is created for Time Machine
|
||||
if (fNeedSetTimeMachine)
|
||||
if (fNeedSetTimeMachine && [self isActive])
|
||||
{
|
||||
NSURL *url = [NSURL fileURLWithPath: [[self downloadFolder] stringByAppendingPathComponent: [self name]]];
|
||||
fNeedSetTimeMachine = CSBackupSetItemExcluded((CFURLRef)url, ![self allDownloaded], false) != noErr;
|
||||
|
|
Loading…
Reference in New Issue