refer-to: compass-ci: c7c4ba94b3ef00a3f5c91200f85ea2d924726132
Signed-off-by: Xiao Shenwei xiaoshenwei96@163.com --- lib/bootstrap.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/lib/bootstrap.sh b/lib/bootstrap.sh index ce34a632..46e77e72 100755 --- a/lib/bootstrap.sh +++ b/lib/bootstrap.sh @@ -270,11 +270,7 @@ announce_bootup()
redirect_stdout_stderr() { - if is_docker; then - exec > /tmp/stdout - exec 2> /tmp/stderr - return - fi + is_docker && return [ -c /dev/kmsg ] || return has_cmd tail || return