We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4b86ab commit cfdd780Copy full SHA for cfdd780
libenv/sysinfo.c
@@ -3071,14 +3071,20 @@ static void GetCPUInfo(EvalContext *ctx)
3071
{
3072
int f = open(file, O_RDONLY);
3073
if (f == -1)
3074
+ {
3075
continue;
3076
+ }
3077
ssize_t n_read = FullRead(f, buffer, sizeof(buffer));
3078
if (n_read < 1)
3079
3080
3081
3082
if (sscanf(buffer, "%d", &package_id) == 1)
3083
3084
if (package_id > max_package_id)
3085
3086
max_package_id = package_id;
3087
3088
}
3089
3090
max_package_id++;
0 commit comments