From 20dfb432735fc9423e428d18f4b5c0312d780161 Mon Sep 17 00:00:00 2001 From: Sofyan Sugianto Date: Sat, 29 Aug 2020 21:30:00 +0700 Subject: [PATCH] fix setup recording --- scripts/setup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/setup b/scripts/setup index 72a53cd..60d4350 100755 --- a/scripts/setup +++ b/scripts/setup @@ -97,9 +97,9 @@ then sed -i "s/ENABLE_HTTPS_PROXY.*/#ENABLE_HTTPS_PROXY=true/" .env fi -if [ ! "$recording" == "y" ] +if [ "$recording" == "y" ] then - sed -i "s/ENABLE_RECORDING.*/#ENABLE_RECORDING=true/" .env + sed -i "s/#ENABLE_RECORDING.*/ENABLE_RECORDING=true/" .env fi if [ "$coturn" == "y" ]