From 32d3c0b920b974d88d08263a32db4d7a649a4e7c Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Wed, 3 Jan 2024 22:01:48 +0100 Subject: [PATCH] cloudron-support: suppress mysql message --- scripts/cloudron-support | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/cloudron-support b/scripts/cloudron-support index e01c0137d..2e19e242a 100755 --- a/scripts/cloudron-support +++ b/scripts/cloudron-support @@ -41,7 +41,7 @@ function warn() { } function fail() { - echo -e "[${RED}FAIL${DONE}]\t${1}" + echo -e "[${RED}FAIL${DONE}]\t${1}" >&2 } function enable_remote_access() { @@ -94,7 +94,7 @@ function check_box() { } function owner_login() { - check_host_mysql + check_host_mysql >/dev/null local -r owner_username=$(mysql -NB -uroot -ppassword -e "SELECT username FROM box.users WHERE role='owner' AND username IS NOT NULL AND active=1 ORDER BY creationTime LIMIT 1" 2>/dev/null) local -r owner_password=$(pwgen -1s 12)