From 54396bab2afe53f2967f957295dd73eb5c6d5f28 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Tue, 29 Jun 2010 09:02:04 -0400
Subject: [PATCH] Fixed a error message in cron_daily.php

---
 server/cron_daily.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/cron_daily.php b/server/cron_daily.php
index 36bb433..27d522e 100644
--- a/server/cron_daily.php
+++ b/server/cron_daily.php
@@ -245,7 +245,7 @@
 	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");
 		}
 	}
 }

--
Gitblit v1.9.1