From d3c5d53eaeee293ae838558728dbc80af1a64ca9 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Fri, 26 Jul 2019 22:35:44 -0700 Subject: [PATCH] silence mysql warning --- scripts/cloudron-setup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/cloudron-setup b/scripts/cloudron-setup index e2256d461..fb7542c3e 100755 --- a/scripts/cloudron-setup +++ b/scripts/cloudron-setup @@ -208,8 +208,8 @@ if ! /bin/bash "${box_src_tmp_dir}/scripts/installer.sh" &>> "${LOG_FILE}"; then exit 1 fi -mysql -uroot -ppassword -e "REPLACE INTO box.settings (name, value) VALUES ('api_server_origin', '${apiServerOrigin}');" -mysql -uroot -ppassword -e "REPLACE INTO box.settings (name, value) VALUES ('web_server_origin', '${webServerOrigin}');" +mysql -uroot -ppassword -e "REPLACE INTO box.settings (name, value) VALUES ('api_server_origin', '${apiServerOrigin}');" 2>/dev/null +mysql -uroot -ppassword -e "REPLACE INTO box.settings (name, value) VALUES ('web_server_origin', '${webServerOrigin}');" 2>/dev/null echo -n "=> Waiting for cloudron to be ready (this takes some time) ..." while true; do