diff options
Diffstat (limited to 'src/biruda.c')
-rw-r--r-- | src/biruda.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/biruda.c b/src/biruda.c index ec48b26..b900fcc 100644 --- a/src/biruda.c +++ b/src/biruda.c @@ -65,7 +65,9 @@ static int test_config( const struct gengetopt_args_info *args_info ) static int conf_validate_worker_execution( cfg_t *cfg, cfg_opt_t *opt, const char *value, void *result ) { - if( strcmp( value, "direct" ) == 0 ) { + if( strcmp( value, "disabled" ) == 0 ) { + *(worker_execution_mode_t *)result = WORKER_EXECUTION_DISABLED; + } else if( strcmp( value, "direct" ) == 0 ) { *(worker_execution_mode_t *)result = WORKER_EXECUTION_DIRECT; } else { cfg_error( cfg, "invalid value for worker execution mode option '%s': %s", |