diff options
author | John Estabrook <jestabro@vyos.io> | 2024-04-28 09:15:28 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2024-04-28 14:44:12 -0500 |
commit | 9438f1f8394b7c90bb536292882571c88556ce87 (patch) | |
tree | 506a78ca74becc86493444cb175ea6e3f399b32f /src/services | |
parent | aa15f74818ca2cb35696315cc5cb0c57335f6911 (diff) | |
download | vyos-1x-9438f1f8394b7c90bb536292882571c88556ce87.tar.gz vyos-1x-9438f1f8394b7c90bb536292882571c88556ce87.zip |
configdep: T6276: do not call dependencies on script error
Diffstat (limited to 'src/services')
-rwxr-xr-x | src/services/vyos-configd | 2 |
1 files changed, 1 insertions, 1 deletions
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 |