summaryrefslogtreecommitdiff
path: root/debian/php5-common.php5.cron.d
diff options
context:
space:
mode:
authorsean finney <seanius@debian.org>2007-10-24 21:51:14 +0200
committerMark A. Hershberger <mah@debian.(none)>2009-03-25 00:38:20 -0400
commit3792822a164293cccfc20bffa9600bbc418699e0 (patch)
tree0079fb8aac9256fdfa68ed1ac02166a25eb9d139 /debian/php5-common.php5.cron.d
parentab8492c03837d849e148983c7c3b0c9d637ecca2 (diff)
downloadphp-debian/5.2.4-2.tar.gz
Imported Debian patch 5.2.4-2debian/5.2.4-2
Diffstat (limited to 'debian/php5-common.php5.cron.d')
-rw-r--r--debian/php5-common.php5.cron.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/php5-common.php5.cron.d b/debian/php5-common.php5.cron.d
index 920503b94..f1d9c87c7 100644
--- a/debian/php5-common.php5.cron.d
+++ b/debian/php5-common.php5.cron.d
@@ -4,4 +4,4 @@
# files, or 24 minutes if not defined. See /usr/lib/php5/maxlifetime
# Look for and purge old sessions every 30 minutes
-09,39 * * * * root [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm
+09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm