diff options
Diffstat (limited to 'lib/commands/toolcontext.c')
-rw-r--r-- | lib/commands/toolcontext.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/commands/toolcontext.c b/lib/commands/toolcontext.c index 289a0fca..a9f5bd68 100644 --- a/lib/commands/toolcontext.c +++ b/lib/commands/toolcontext.c @@ -560,6 +560,10 @@ static int _init_dev_cache(struct cmd_context *cmd) const struct config_node *cn; struct config_value *cv; + init_dev_disable_after_error_count( + find_config_tree_int(cmd, "devices/disable_after_error_count", + DEFAULT_DISABLE_AFTER_ERROR_COUNT)); + if (!dev_cache_init(cmd)) return_0; |