From b13c9ec6470a77c5ab438945ffcc3b1a7bea3d40 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Thu, 18 Jul 2013 10:25:00 +0200 Subject: [PATCH] Use bash to run grep command --- modules/bacula/templates/bacula-dir.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/bacula/templates/bacula-dir.conf.erb b/modules/bacula/templates/bacula-dir.conf.erb index cd8826c34..175eb83c9 100644 --- a/modules/bacula/templates/bacula-dir.conf.erb +++ b/modules/bacula/templates/bacula-dir.conf.erb @@ -65,7 +65,7 @@ FileSet { File = /dev File = /srv/chroot File = /home/buildd/build-trees - File = "\\|grep -s -v ^# /etc/bacula/local-exclude || true" + File = "\\|bash -c 'grep -s -v ^# /etc/bacula/local-exclude || true'" } } -- 2.20.1