diff --git a/src/config/syscheck-config.c b/src/config/syscheck-config.c index a289e5b3f..e2304824a 100644 --- a/src/config/syscheck-config.c +++ b/src/config/syscheck-config.c @@ -367,7 +367,6 @@ static int read_attr(syscheck_config *syscheck, const char *dirs, char **g_attrs } /* Check for glob */ -#ifndef WIN32 if (strchr(tmp_dir, '*') || strchr(tmp_dir, '?') || strchr(tmp_dir, '[')) { @@ -397,9 +396,6 @@ static int read_attr(syscheck_config *syscheck, const char *dirs, char **g_attrs else { dump_syscheck_entry(syscheck, tmp_dir, opts, 0, restrictfile); } -#else - dump_syscheck_entry(syscheck, tmp_dir, opts, 0, restrictfile); -#endif if (restrictfile) { free(restrictfile);