Skip to content

Commit

Permalink
Show temperature for all hard drives when using hddtemp
Browse files Browse the repository at this point in the history
Close #15.
  • Loading branch information
kmikita authored and lpereira committed Nov 21, 2021
1 parent 3c6d917 commit 040f9d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/devices/sensors.c
Expand Up @@ -601,7 +601,7 @@ static void read_sensors_hddtemp(void) {
gchar **disks;
int i;

disks = g_strsplit(buffer, "\n", 0);
disks = g_strsplit(buffer, "||", 0);
for (i = 0; disks[i]; i++) {
gchar **fields = g_strsplit(disks[i] + 1, "|", 5);

Expand Down

0 comments on commit 040f9d1

Please sign in to comment.