Skip to content

Commit

Permalink
[Clock] Error when execute config clock timezone (sonic-net#2954)
Browse files Browse the repository at this point in the history
  • Loading branch information
limshengli committed Sep 4, 2023
1 parent c7c4831 commit 59cceb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 59cceb7

Please sign in to comment.