diff --git a/system/critmon/critmon.c b/system/critmon/critmon.c index c3d60fa79..c5a448ad7 100644 --- a/system/critmon/critmon.c +++ b/system/critmon/critmon.c @@ -423,12 +423,7 @@ static int critmon_list_once(void) fprintf(stderr, "Csection Monitor: Failed to open directory: %s\n", CONFIG_SYSTEM_CRITMONITOR_MOUNTPOINT); - - if (++errcount > 100) - { - fprintf(stderr, "Csection Monitor: Too many errors ... exiting\n"); - return EXIT_FAILURE; - } + return EXIT_FAILURE; } /* Read each directory entry */