From f871ba9e59267aab0d74e52ffebc6b2da98b8253 Mon Sep 17 00:00:00 2001 From: yupeng Date: Tue, 13 Oct 2020 17:53:10 +0800 Subject: [PATCH] fix gs_checkos issue --- src/manager/om/script/local/LocalCheckOS.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/manager/om/script/local/LocalCheckOS.py b/src/manager/om/script/local/LocalCheckOS.py index d1880bf24..09d7906c5 100644 --- a/src/manager/om/script/local/LocalCheckOS.py +++ b/src/manager/om/script/local/LocalCheckOS.py @@ -281,7 +281,7 @@ def collectUnicode(): output : Instantion """ data = codename() - cmd = "source /etc/profile; locale | grep '^LANG='" + cmd = "locale | grep '^LANG='" status, output = subprocess.getstatusoutput(cmd) if status != 0: raise Exception((ErrorCode.GAUSS_505["GAUSS_50502"] % "Unicode") +