From a3d4a91b460aef73232f30f4cf07616bfdd53a8c Mon Sep 17 00:00:00 2001 From: limshengli Date: Mon, 4 Sep 2023 16:15:52 +0800 Subject: [PATCH] [Clock] Error when execute config clock timezone (#2954) --- config/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/main.py b/config/main.py index 5f7e41a36ff..8dbb4d06ab1 100644 --- a/config/main.py +++ b/config/main.py @@ -7227,7 +7227,7 @@ def clock(): def get_tzs(ctx, args, incomplete): - ret = clicommon.run_command('timedatectl list-timezones', + ret = clicommon.run_command(['timedatectl', 'list-timezones'], display_cmd=False, ignore_error=False, return_cmd=True) if len(ret) == 0: