From add05a5f263895be3db918c88ed0ae99bfb990dc Mon Sep 17 00:00:00 2001 From: Xinwei Xiong <3293172751NSS@gmail.com> Date: Wed, 24 Jan 2024 15:02:32 +0800 Subject: [PATCH] fix: Update openim-tools.sh fix tools check --- scripts/install/openim-tools.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/install/openim-tools.sh b/scripts/install/openim-tools.sh index 385df64f5..172f456fd 100755 --- a/scripts/install/openim-tools.sh +++ b/scripts/install/openim-tools.sh @@ -105,11 +105,7 @@ function openim::tools::start_service() { fi openim::log::status "Starting ${binary_name}..." # Later, after discarding Docker, the Docker keyword is unreliable, and Kubepods is used - if grep -qE 'docker|kubepods' /proc/1/cgroup || [ -f /.dockerenv ]; then - ${cmd} >> "${LOG_FILE}" 2>&1 - else - ${cmd} | tee -a "${LOG_FILE}" - fi + ${cmd} | tee -a "${LOG_FILE}" } function openim::tools::start() {