diff options
author | Urban Müller | 2015-09-16 16:57:40 +0200 |
---|---|---|
committer | Urban Müller | 2015-09-16 16:57:40 +0200 |
commit | 0f9e9ea62699f0d82ab11eb4377eb889857ac3bc (patch) | |
tree | efcf2a8d02faf4e901778e98a050da1bd4994b3e /it_url.class | |
parent | 9376ddee188693e983df55dc87e427938c1f52af (diff) | |
download | itools-0f9e9ea62699f0d82ab11eb4377eb889857ac3bc.tar.gz itools-0f9e9ea62699f0d82ab11eb4377eb889857ac3bc.tar.bz2 itools-0f9e9ea62699f0d82ab11eb4377eb889857ac3bc.zip |
correct returncode in keepfailed case
Diffstat (limited to 'it_url.class')
-rw-r--r-- | it_url.class | 1 |
1 files changed, 1 insertions, 0 deletions
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); |