add some return values to some shit so it shuts down elegantly on crash
This commit is contained in:
@@ -41,7 +41,7 @@ void getTimeDate(TimeDate* td);
|
||||
void getDisk(Disk* disk);
|
||||
void getRam(Memory* mem);
|
||||
void getNetwork(Network* net, const std::string& device);
|
||||
void detectHwmon(sysSensors* s, const std::string& platform);
|
||||
int detect(sysSensors* s, const std::string& platform);
|
||||
void updateSensors(sysSensors* s);
|
||||
|
||||
} // namespace sys
|
||||
|
||||
Reference in New Issue
Block a user