This commit is contained in:
xdrm-brackets 2017-05-09 12:24:27 +02:00
parent c65db6afe2
commit 1cd9ff45f7
1 changed files with 3 additions and 1 deletions

View File

@ -156,7 +156,9 @@
$saved = $saved < 0 ? 0 : $saved; // prevent negative $saved = $saved < 0 ? 0 : $saved; // prevent negative
/* (4) Truncate the log file */ /* (4) Truncate the log file */
$saved++; // because need to be excluded if( $saved > 0 )
$saved++; // because need to be excluded
$truncated = syscall(SOURCE_DIR."/lib/file/truncate mfrc522 {$saved}"); $truncated = syscall(SOURCE_DIR."/lib/file/truncate mfrc522 {$saved}");
/* (5) Manage error */ /* (5) Manage error */