diff --git a/dockers/docker-dhcp-relay/cli/config/plugins/dhcp_relay.py b/dockers/docker-dhcp-relay/cli/config/plugins/dhcp_relay.py index aea8e491f05b..1423a8580ae9 100644 --- a/dockers/docker-dhcp-relay/cli/config/plugins/dhcp_relay.py +++ b/dockers/docker-dhcp-relay/cli/config/plugins/dhcp_relay.py @@ -39,9 +39,9 @@ def restart_dhcp_relay_service(): Restart dhcp_relay service """ click.echo("Restarting DHCP relay service...") - clicommon.run_command("systemctl stop dhcp_relay", display_cmd=False) - clicommon.run_command("systemctl reset-failed dhcp_relay", display_cmd=False) - clicommon.run_command("systemctl start dhcp_relay", display_cmd=False) + clicommon.run_command(['systemctl', 'stop', 'dhcp_relay'], display_cmd=False) + clicommon.run_command(['systemctl', 'reset-failed', 'dhcp_relay'], display_cmd=False) + clicommon.run_command(['systemctl', 'start', 'dhcp_relay'], display_cmd=False) def add_dhcp_relay(vid, dhcp_relay_ips, db, ip_version): diff --git a/dockers/docker-macsec/cli/clear/plugins/clear_macsec_counter.py b/dockers/docker-macsec/cli/clear/plugins/clear_macsec_counter.py index b47a576f9ed2..15a1be94b2ff 100644 --- a/dockers/docker-macsec/cli/clear/plugins/clear_macsec_counter.py +++ b/dockers/docker-macsec/cli/clear/plugins/clear_macsec_counter.py @@ -25,7 +25,7 @@ def macsec_clear_counters(clean_cache): print("Cleaned cache") return - clicommon.run_command("show macsec --dump-file") + clicommon.run_command(['show', 'macsec', '--dump-file']) print("Clear MACsec counters") def register(cli): diff --git a/src/sonic-utilities b/src/sonic-utilities index b5c1032573d7..72ca48481645 160000 --- a/src/sonic-utilities +++ b/src/sonic-utilities @@ -1 +1 @@ -Subproject commit b5c1032573d7db53b6b9f896250f1d8867374ec0 +Subproject commit 72ca48481645edc3437d7899e2fa754d16eff02e