diff options
author | Thomas Morper <thomas@beingboiled.info> | 2011-10-26 14:27:43 -0500 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-11-04 21:59:28 -0200 |
commit | 5a5401073d3d34b209cfc5ba10232b59f3bfe4f7 (patch) | |
tree | 156d9f4a120bd3d64459677d6ce75a7ac7091df4 /network/exim/contrib | |
parent | c5973fc8720880c936cc90448ef6e2af5709b25f (diff) | |
download | slackbuilds-5a5401073d3d34b209cfc5ba10232b59f3bfe4f7.tar.gz |
network/exim: Updated for version 4.77.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/exim/contrib')
-rw-r--r-- | network/exim/contrib/exim.cron | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/network/exim/contrib/exim.cron b/network/exim/contrib/exim.cron index 94d7442b60..b4b7751ea8 100644 --- a/network/exim/contrib/exim.cron +++ b/network/exim/contrib/exim.cron @@ -7,6 +7,6 @@ SPOOL=/var/spool/exim test -d $SPOOL -a -x /usr/sbin/exim_tidydb || exit # Tidy up the contents of the hints databases -find $SPOOL/db -name '*.lockfile' -exec basename {} .lockfile \; \ - | xargs -r -n 1 sudo -u exim /usr/sbin/exim_tidydb -t 7d $SPOOL \ - > /dev/null +find $SPOOL/db -type f \! -name '*.lockfile' -printf '%f\0' \ + | xargs -0 -I {} -n 1 -r su exim -s /bin/sh -c \ + "/usr/sbin/exim_tidydb -t 7d $SPOOL {} > /dev/null" |