diff --git a/src/runmodes.c b/src/runmodes.c index 36617fff00..ce0baf6329 100644 --- a/src/runmodes.c +++ b/src/runmodes.c @@ -381,7 +381,7 @@ static const char *RunModeGetConfOrDefault(int capture_mode, const char *capture default: return NULL; } - } else { /* if (custom_mode == NULL) */ + } else { /* Add compability with old 'worker' name */ if (!strcmp("worker", custom_mode)) { char *local_custom_mode = NULL;