diff options
author | Urban Müller | 2024-05-16 19:03:05 +0200 |
---|---|---|
committer | Urban Müller | 2024-05-16 19:03:05 +0200 |
commit | 51de527d677b9e507941d3d268e7b5d911e89e4d (patch) | |
tree | 61ce2c3761bc968a501121b99761cee504206f3b | |
parent | 83d862e2b688f1de9c56231db963f6594a48c37a (diff) | |
download | itools-51de527d677b9e507941d3d268e7b5d911e89e4d.tar.gz itools-51de527d677b9e507941d3d268e7b5d911e89e4d.tar.bz2 itools-51de527d677b9e507941d3d268e7b5d911e89e4d.zip |
bugfix, thx buddha
-rw-r--r-- | it_url.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class index 4d762f4..fac7e0c 100644 --- a/it_url.class +++ b/it_url.class @@ -703,7 +703,7 @@ static function get_cache($p = array()) { it::file_put($p['cachedir'] . "/cleaned", ""); # touch could have permission problems $maxagemin = intval($p['maxage']/60); - exec("nohup bash -c 'cd {$p['cachedir']} && for i in [0-9][0-9]; do sleep 20; ionice -c 3 find \$i -mmin +$maxagemin -type f -delete; done' </dev/null >/dev/null 2>&1 &"); + exec("nohup bash -c 'cd {$p['cachedir']} && for i in [0-9a-f][0-9a-f]; do sleep 20; ionice -c 3 find \$i -mmin +$maxagemin -type f -delete; done' </dev/null >/dev/null 2>&1 &"); } if (EDC('getcachelog')) |