Skip to content
Permalink
Browse files

Append data

  • Loading branch information...
NEMS Linux
NEMS Linux committed Sep 10, 2019
1 parent e097207 commit 9de33df415c6594247a8d346131f7a2cb09b7644
Showing with 1 addition and 1 deletion.
  1. +1 −1 perfdata-purge
@@ -14,7 +14,7 @@
if (strlen($timestamp) > 0 && $timestamp > 0) {
// Found some timestamps that are older than $cutoff.
// Delete those lines from $file using sed.
file_put_contents($file.'~~', $line);
file_put_contents($file.'~~', $line, FILE_APPEND);
$counter++;
echo '.';
}

0 comments on commit 9de33df

Please sign in to comment.
You can’t perform that action at this time.