From 9438f1f8394b7c90bb536292882571c88556ce87 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Sun, 28 Apr 2024 09:15:28 -0500 Subject: configdep: T6276: do not call dependencies on script error --- src/services/vyos-configd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/services/vyos-configd') diff --git a/src/services/vyos-configd b/src/services/vyos-configd index 648a017d5..c89c486e5 100755 --- a/src/services/vyos-configd +++ b/src/services/vyos-configd @@ -236,7 +236,7 @@ def process_node_data(config, data, last: bool = False) -> int: with stdout_redirected(session_out, session_mode): result = run_script(conf_mode_scripts[script_name], config, args) - if last: + if last and result == R_SUCCESS: call_dependents(dependent_func=config.dependent_func) return result -- cgit v1.2.3