From 54396bab2afe53f2967f957295dd73eb5c6d5f28 Mon Sep 17 00:00:00 2001 From: tbrehm Date: Tue, 29 Jun 2010 13:02:04 +0000 Subject: [PATCH] Fixed a error message in cron_daily.php --- server/cron_daily.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/cron_daily.php b/server/cron_daily.php index 36bb43321..27d522ece 100644 --- a/server/cron_daily.php +++ b/server/cron_daily.php @@ -245,7 +245,7 @@ if(is_array($records)) { foreach($records as $rec){ $tmp_path = realpath(escapeshellcmd($rec["document_root"].'/tmp')); if($tmp_path != '' && strlen($tmp_path) > 10 && is_dir($tmp_path) && $app->system->is_user($rec['system_user'])){ - exec("cd ".$tmp_path."; find -mtime +1 -name 'sess_*' | grep -v -w .no_delete | xargs rm &> /dev/null 2> /dev/null"); + exec("cd ".$tmp_path."; find -mtime +1 -name 'sess_*' | grep -v -w .no_delete | xargs rm > /dev/null 2> /dev/null"); } } } -- GitLab