sapconf/SOURCES/sapconf-supress-spamming-ou...

15 lines
476 B
Diff

diff --git a/sapconf b/sapconf
index 6cd6173..471620e 100644
--- a/sapconf
+++ b/sapconf
@@ -636,7 +636,7 @@ fi
if systemctl status firewalld.service > /dev/null 2>&1 ; then
if [ $CHECK_ONLY == 0 ]; then
# disable firewall or open required ports
- systemctl disable firewalld.service
+ systemctl disable firewalld.service > /dev/null 2>&1
systemctl stop firewalld.service > /dev/null 2>&1
out "Firewall has been disabled for SAP"
else