summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2024-05-16 17:21:38 +0200
committerUrban Müller2024-05-16 17:21:38 +0200
commit05a1443fd3364b1804918267edfa1a8741bcbf19 (patch)
tree6eb022d65eb70e1c5611b1be36f2467206512444
parent30b9d91de205bc960af631aaf490030eb8193d62 (diff)
downloaditools-05a1443fd3364b1804918267edfa1a8741bcbf19.tar.gz
itools-05a1443fd3364b1804918267edfa1a8741bcbf19.tar.bz2
itools-05a1443fd3364b1804918267edfa1a8741bcbf19.zip
security
-rw-r--r--it_url.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class
index a0ba77f..8001469 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 ??; 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 ??; do sleep 20; ionice -c 3 find \"\$i\" -mmin +\"$maxagemin\" -type f -delete; done' </dev/null >/dev/null 2>&1 &");
}
if (EDC('getcachelog'))