Fix LSB filename
This commit is contained in:
parent
fba30c4cf8
commit
0e8ac8b7a1
|
@ -375,7 +375,7 @@ int xs_parse_distro(char *name)
|
||||||
FILE *fp = NULL;
|
FILE *fp = NULL;
|
||||||
char buffer[bsize], *pos = 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];
|
char id[bsize], codename[bsize], release[bsize];
|
||||||
strcpy(id, "?");
|
strcpy(id, "?");
|
||||||
|
|
Loading…
Reference in New Issue