summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/base.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/base.pp b/manifests/base.pp
index 7715baa..d0a065f 100644
--- a/manifests/base.pp
+++ b/manifests/base.pp
@@ -114,7 +114,7 @@ class shorewall::base {
File['/etc/cron.daily/shorewall_check']{
content => "#!/bin/bash
-output=\$(shorewall check${shorewall6_check_str} 2>&1)
+output=\$((shorewall check${shorewall6_check_str}) 2>&1)
if [ \$? -gt 0 ]; then
echo 'Error while checking firewall!'
echo \$output