summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2023-05-17 15:30:43 +0200
committerUrban Müller2023-05-17 15:30:43 +0200
commit20af0b2f45ca9e4cdb2a7245e621496944015780 (patch)
tree4a9409cdae6f95082f4b85910cbd004c3b002a28
parentc7e22a97580ad31fd19182d2d0ebfa4095087d48 (diff)
downloaditools-20af0b2f45ca9e4cdb2a7245e621496944015780.tar.gz
itools-20af0b2f45ca9e4cdb2a7245e621496944015780.tar.bz2
itools-20af0b2f45ca9e4cdb2a7245e621496944015780.zip
use correct okstate path
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index d7a0030..81e1bd4 100644
--- a/it.class
+++ b/it.class
@@ -214,7 +214,7 @@ static function error($p = array(), $extra = null)
if ($p['okstate'])
{
- list($okfn, $okstatus) = explode("=", "$home/okstate_" . $p['okstate']);
+ list($okfn, $okstatus) = explode("=", "$home/tmp/okstate_" . $p['okstate']);
$failcount = $okstatus ? 0 : (int)@file_get_contents($okfn) + 1; # NOPHPLINT
file_put_contents($okfn, "$failcount\n"); # NOPHPLINT
if ($failcount != $p['failcount'] && $failcount != $p['failcount'] * 30)