mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-18 11:05:18 +00:00
bugfix
This commit is contained in:
parent
3322b2a9a9
commit
44ca4647b8
@ -1796,6 +1796,7 @@ void get_battery_stuff(char *buffer, unsigned int n, const char *bat, int item)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
fclose(acpi_bat_fp[idx]);
|
fclose(acpi_bat_fp[idx]);
|
||||||
|
acpi_bat_fp[idx] = NULL;
|
||||||
} else {
|
} else {
|
||||||
/* APM */
|
/* APM */
|
||||||
if (apm_bat_fp[idx] == NULL) {
|
if (apm_bat_fp[idx] == NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user