From fede9c9397ddf62a2ece3aaa8aa7dded81803446 Mon Sep 17 00:00:00 2001 From: Moritz Kiemer Date: Fri, 22 Nov 2024 15:19:50 +0100 Subject: [PATCH] rabbitmq init: avoid encoding warning Change-Id: I4a33ea6c90c1d0b03e06e5ae69369f8cb49579f7 --- omd/packages/rabbitmq/skel/etc/init.d/rabbitmq | 2 ++ 1 file changed, 2 insertions(+) diff --git a/omd/packages/rabbitmq/skel/etc/init.d/rabbitmq b/omd/packages/rabbitmq/skel/etc/init.d/rabbitmq index e24feaf29cb..13729d82163 100755 --- a/omd/packages/rabbitmq/skel/etc/init.d/rabbitmq +++ b/omd/packages/rabbitmq/skel/etc/init.d/rabbitmq @@ -43,6 +43,8 @@ await_process_stop() { } rabbitmq_accepting_connections() { + LANG="C.utf8" \ # set locale to avoid irrelevant warnings in log + LC_CTYPE="C.utf8" \ "${RABBITMQ_DIAGNOSTICS}" check_port_connectivity --node "${RABBITMQ_NODENAME}" }