timeshift: fix silly logic error in assert() call.
This commit is contained in:
parent
d82362ac73
commit
c1312e160a
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ static void* timeshift_reaper_callback ( void *p )
|
|||
tvhlog(LOG_ERR, "timeshift", "failed to remove %s [e=%s]",
|
||||
dpath, strerror(errno));
|
||||
pthread_mutex_lock(×hift_size_lock);
|
||||
assert(tsf->size >= timeshift_total_size);
|
||||
assert(tsf->size <= timeshift_total_size);
|
||||
timeshift_total_size -= tsf->size;
|
||||
pthread_mutex_unlock(×hift_size_lock);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue