summaryrefslogtreecommitdiffstats
path: root/roles/bacula-dir/templates
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2020-11-02 01:24:18 +0100
committerGuilhem Moulin <guilhem@fripost.org>2020-11-02 01:24:18 +0100
commit26bae877102752a41a903cab2ee0891f8f261d38 (patch)
tree70a0641c51528eb44282ab224abcd7b589e841b1 /roles/bacula-dir/templates
parent65063c9638b905ca23ce35cdc0045f51f02187f4 (diff)
Bacula Director: Properly quote shell command.
Diffstat (limited to 'roles/bacula-dir/templates')
-rw-r--r--roles/bacula-dir/templates/etc/bacula/bacula-dir.conf.j22
1 files changed, 1 insertions, 1 deletions
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 3e37614..7de9b5d 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