From 0e8ac8b7a1a100a87900ae010edacde50e21af2c Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Mon, 22 Oct 2012 09:23:32 +0200 Subject: Fix LSB filename --- plugins/sysinfo/parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/sysinfo') diff --git a/plugins/sysinfo/parse.c b/plugins/sysinfo/parse.c index 9e185874..45399496 100644 --- a/plugins/sysinfo/parse.c +++ b/plugins/sysinfo/parse.c @@ -375,7 +375,7 @@ int xs_parse_distro(char *name) FILE *fp = NULL; char buffer[bsize], *pos = NULL; - if((fp = fopen("/etc/lsb_release", "r")) != NULL) + if((fp = fopen("/etc/lsb-release", "r")) != NULL) { char id[bsize], codename[bsize], release[bsize]; strcpy(id, "?"); -- cgit 1.4.1