1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-27 20:44:56 +00:00

Bugfix: if_gw only outputs if another gw var is in the if block (sf id 2784627)

This commit is contained in:
Nikolas Garofil 2009-05-11 19:47:24 +02:00
parent ae1b6c50e6
commit a01f968677

View File

@ -1262,7 +1262,7 @@ static struct text_object *construct_text_object(const char *s,
/* information from sony_laptop kernel module
* /sys/devices/platform/sony-laptop */
END OBJ(sony_fanspeed, 0)
END OBJ_IF(if_gw, 0)
END OBJ_IF(if_gw, INFO_GW)
END OBJ(ioscheduler, 0)
if (!arg) {
CRIT_ERR("get_ioscheduler needs an argument (e.g. hda)");