From ae8de861aa11b261a809fef101f35afb4fe8bb50 Mon Sep 17 00:00:00 2001 From: Arian Nasr <81041177+arian-nasr@users.noreply.github.com> Date: Mon, 31 Mar 2025 16:15:42 -0400 Subject: [PATCH] Update freepbx-install.sh Fix issue with output showing even when not verbose --- install/freepbx-install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install/freepbx-install.sh b/install/freepbx-install.sh index b81f798..df40b9f 100644 --- a/install/freepbx-install.sh +++ b/install/freepbx-install.sh @@ -143,8 +143,7 @@ tar zxf freepbx-17.0-latest-EDGE.tgz cd /usr/local/src/freepbx/ $STD ./start_asterisk start # Even though the php code completes successfully, it is returning non-zero exit code, so in the next line we return true, needed for successful installation -# For some reason the next line is outputting even when verbosity not enabled? -$STD ./install -n || true +./install -n &>/dev/null || true $STD fwconsole ma installall $STD fwconsole reload $STD fwconsole restart