mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 09:46:54 +00:00
tools: Use error log level when failing to execute commands via frr-reload.py
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
ec1e9f4ba2
commit
204508433d
@ -2200,7 +2200,7 @@ if __name__ == "__main__":
|
|||||||
# 'no ip ospf authentication message-digest 1.1.1.1' in
|
# 'no ip ospf authentication message-digest 1.1.1.1' in
|
||||||
# our example above
|
# our example above
|
||||||
# - Split that last entry by whitespace and drop the last word
|
# - Split that last entry by whitespace and drop the last word
|
||||||
log.info("Failed to execute %s", " ".join(cmd))
|
log.error("Failed to execute %s", " ".join(cmd))
|
||||||
last_arg = cmd[-1].split(" ")
|
last_arg = cmd[-1].split(" ")
|
||||||
|
|
||||||
if len(last_arg) <= 2:
|
if len(last_arg) <= 2:
|
||||||
|
Loading…
Reference in New Issue
Block a user