debian/loolwsd.cron.d |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit eaa310aa29684f3ea34d448a32d6878eefa05497
Author:     Sven Strickroth <[email protected]>
AuthorDate: Tue Jul 2 21:45:56 2019 +0200
Commit:     Thorsten Behrens <[email protected]>
CommitDate: Sat Aug 10 23:28:56 2019 +0200

    Use -delete command of find instead of -exec rm
    
    The -delete parameter allows to delete several files at once without
    the need to spawn a rm processes for every found file.
    
    Note, the -delete parameter is NOT POSIX compliant, however,
    it should be available on all relevant systems.
    
    Change-Id: Icc840aecc906700cae0665a592b7e0e7e377bdcb
    Signed-off-by: Sven Strickroth <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/77084
    Reviewed-by: Thorsten Behrens <[email protected]>
    Tested-by: Thorsten Behrens <[email protected]>

diff --git a/debian/loolwsd.cron.d b/debian/loolwsd.cron.d
index 761029b92..d32374141 100644
--- a/debian/loolwsd.cron.d
+++ b/debian/loolwsd.cron.d
@@ -1 +1 @@
-0 0 */1 * * root find /var/cache/loolwsd -type f -a -atime +10 -exec rm {} \;
+0 0 */1 * * root find /var/cache/loolwsd -type f -a -atime +10 -delete
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to