Commit cf2762f4 authored by Heisenberg's avatar Heisenberg
Browse files

fix stupid error


Former-commit-id: 1dd6211c4011deb8923e0f8f77c61c379fab5362
parent 2cb6a5d1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -263,8 +263,8 @@ SystemInfo::CPUTemperature() {
                object += "/temp1_input";
                FILE *file = fopen(object.c_str(), "r");
                if (file == nullptr) {
                    SERVER_LOG_ERROR << "Could not open temperature file"
                    exit(1);
                    SERVER_LOG_ERROR << "Could not open temperature file";
                    return result;
                }
                float temp;
                fscanf(file, "%f", &temp);