From 297005c239408bf269b21a8828c6d5c479e9b8a1 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Tue, 3 Nov 2020 05:53:49 +0100 Subject: Revert "Bacula Director: Properly quote shell command." This reverts commit 26bae877102752a41a903cab2ee0891f8f261d38. --- roles/bacula-dir/templates/etc/bacula/bacula-dir.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/bacula-dir/templates/etc/bacula/bacula-dir.conf.j2 b/roles/bacula-dir/templates/etc/bacula/bacula-dir.conf.j2 index 7de9b5d..b963c2c 100644 --- a/roles/bacula-dir/templates/etc/bacula/bacula-dir.conf.j2 +++ b/roles/bacula-dir/templates/etc/bacula/bacula-dir.conf.j2 @@ -79,7 +79,7 @@ JobDefs { Runs On Success = yes Runs On Failure = yes Runs When = after - Command = "/usr/bin/find /var/lib/bacula/tmp -type f \\( -name '*.ldif' -o -name 'slapd-*' \\) -delete" + Command = "/usr/bin/find /var/lib/bacula/tmp -type f \( -name \"*.ldif\" -o -name \"slapd-*\" \) -delete" } Pool = database Priority = 20 -- cgit v1.2.3