]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Break out of the file processing loop when we reach EOF a file we're skipping
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 27 Mar 2025 00:48:38 +0000 (18:48 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 27 Mar 2025 02:27:43 +0000 (20:27 -0600)
src/bin/unit_test_attribute.c

index 8fad02861e9a0bce3649d05b3ef8bde87a2ff45b..3ebac5f0f8c95f39f5da70734d908cd1a97eb06f 100644 (file)
@@ -3542,7 +3542,7 @@ static int process_file(bool *exit_now, TALLOC_CTX *ctx, command_config_t const
                                        break;
                                }
                        }
-                       break;
+                       goto finish;
 
                /*
                 *      Fatal error parsing a command