diff options
author | John Estabrook <jestabro@vyos.io> | 2024-04-28 09:15:28 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2024-04-28 19:11:17 -0500 |
commit | 2479ed1a6a71c10d5b399e4f176494f761b84fab (patch) | |
tree | 9e88758a2a4f28e86bd76d905dc3bd41590e223d | |
parent | d2ba96d8af035e6f20b928e7f95fb7c5bfa5fc95 (diff) | |
download | vyos-1x-2479ed1a6a71c10d5b399e4f176494f761b84fab.tar.gz vyos-1x-2479ed1a6a71c10d5b399e4f176494f761b84fab.zip |
configdep: T6276: do not call dependencies on script error
(cherry picked from commit 9438f1f8394b7c90bb536292882571c88556ce87)
-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 |