From 31a13ab3040d1342723400f9bccc2542960170d2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 9 Mar 2019 10:20:40 +0100 Subject: Using C.UTF-8 in container enter command as fallback locale. Signed-off-by: Daniel Baumann --- lib/container/enter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/container/enter b/lib/container/enter index 9c9ebfa..10a122f 100755 --- a/lib/container/enter +++ b/lib/container/enter @@ -107,7 +107,7 @@ done SSH_CLIENT="${SSH_CLIENT:-127.0.0.1 0 0}" # Run -nsenter --all --target "${LEADER}" --wd="${MACHINES}/${NAME}/root" /usr/bin/script -c "/bin/bash -l" -q /dev/null +nsenter --all --target "${LEADER}" --wd="${MACHINES}/${NAME}/root" /usr/bin/script -c "LC_ALL=C.UTF-8 /bin/bash -l" -q /dev/null case "${SSH_CLIENT}" in 127.0.0.1*) -- cgit v1.2.3