Skip to content

Commit 54396ba

Browse files
committed
Fixed a error message in cron_daily.php
1 parent c211f7a commit 54396ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/cron_daily.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ function setConfigVar( $filename, $varName, $varValue ) {
245245
foreach($records as $rec){
246246
$tmp_path = realpath(escapeshellcmd($rec["document_root"].'/tmp'));
247247
if($tmp_path != '' && strlen($tmp_path) > 10 && is_dir($tmp_path) && $app->system->is_user($rec['system_user'])){
248-
exec("cd ".$tmp_path."; find -mtime +1 -name 'sess_*' | grep -v -w .no_delete | xargs rm &> /dev/null 2> /dev/null");
248+
exec("cd ".$tmp_path."; find -mtime +1 -name 'sess_*' | grep -v -w .no_delete | xargs rm > /dev/null 2> /dev/null");
249249
}
250250
}
251251
}

0 commit comments

Comments
 (0)