Subject: Fix child directory proccessing on equal match
Forwarded: not-needed
Source: https://github.com/aide/aide/commit/cf5026bf0852d350030d6d1a7a0351573c9512e6
--- a/src/db_disk.c
+++ b/src/db_disk.c
@@ -171,13 +171,12 @@ void scan_dir(char *root_path, bool dry_
 #endif
                         switch (match) {
                             case RESULT_SELECTIVE_MATCH:
+                            case RESULT_EQUAL_MATCH:
                                 if (S_ISDIR(fs.st_mode)) {
-                                    log_msg(log_level, "scan_dir: add child directory '%s' to scan stack (reason: selective match)", &entry_full_path[conf->root_prefix_length]);
+                                    log_msg(log_level, "scan_dir: add child directory '%s' to scan stack (reason: selective/equal match)", &entry_full_path[conf->root_prefix_length]);
                                     queue_enqueue(stack, entry_full_path);
                                     free_entry_full_path = false;
                                 }
-                            // fall through
-                            case RESULT_EQUAL_MATCH:
                                 if (!dry_run) {
                                     handle_matched_file(entry_full_path, rule->attr, fs);
                                 }
