From 0f9e9ea62699f0d82ab11eb4377eb889857ac3bc Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Wed, 16 Sep 2015 16:57:40 +0200 Subject: correct returncode in keepfailed case --- it_url.class | 1 + 1 file changed, 1 insertion(+) diff --git a/it_url.class b/it_url.class index 33bf4b1..b0320a6 100644 --- a/it_url.class +++ b/it_url.class @@ -704,6 +704,7 @@ function get_cache($p = array()) @unlink($dstpath); if (!$p['keepfailed']) @unlink($path); + $result = file_exists($path); } it_url::_unlock($path, $lock); -- cgit v1.2.3