diff options
Diffstat (limited to 'plugins/sysinfo/parse.c')
-rw-r--r-- | plugins/sysinfo/parse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/sysinfo/parse.c b/plugins/sysinfo/parse.c index d55142a1..075f3f31 100644 --- a/plugins/sysinfo/parse.c +++ b/plugins/sysinfo/parse.c @@ -415,6 +415,8 @@ int xs_parse_distro(char *name) fgets(buffer, bsize, fp); else if((fp = fopen("/etc/turbolinux-release", "r")) != NULL) fgets(buffer, bsize, fp); + else if((fp = fopen("/etc/arch-release", "r")) != NULL) + snprintf(buffer, bsize, "ArchLinux"); else snprintf(buffer, bsize, "Unknown Distro"); if(fp != NULL) fclose(fp); |