- if (include->type == FW3_INC_TYPE_RESTORE)
- print_include(include, family);
+ if (include->type != FW3_INC_TYPE_RESTORE)
+ continue;
+
+ if (!fw3_is_family(include, family))
+ continue;
+
+ if (!exec)
+ {
+ exec = fw3_command_pipe(false, restore, "--noflush");
+
+ if (!exec)
+ return;
+ }
+
+ print_include(include);