1
0
mirror of https://github.com/gophernicus/gophernicus.git synced 2024-12-04 14:46:37 -05:00

Fixed a comment & formatting

This commit is contained in:
Kim Holviala 2014-12-19 15:06:48 +02:00
parent 2bd8caed82
commit 00c48f5ced
2 changed files with 2 additions and 2 deletions

View File

@ -2,6 +2,7 @@
2014-12-19 Kim Holviala <kim@holviala.com> 2014-12-19 Kim Holviala <kim@holviala.com>
* Added detection for CRUX Linux
* Added $SESSION_ID environment variable for CGI scripts * Added $SESSION_ID environment variable for CGI scripts
2014-11-10 Kim Holviala <kim@holviala.com> 2014-11-10 Kim Holviala <kim@holviala.com>

View File

@ -112,7 +112,7 @@ void platform(state *st)
} }
#endif #endif
/* Linux uname() just says Linux/2.6 - let's dig deeper... */ /* Linux uname() just says Linux/kernelversion - let's dig deeper... */
#ifdef __linux #ifdef __linux
/* Most Linux ARM/MIPS boards have hardware name in /proc/cpuinfo */ /* Most Linux ARM/MIPS boards have hardware name in /proc/cpuinfo */
@ -171,7 +171,6 @@ void platform(state *st)
} }
} }
/* Uh-oh.... how about a standard Linux with lsb_release? */ /* Uh-oh.... how about a standard Linux with lsb_release? */
if (stat("/usr/bin/lsb_release", &file) == OK && (file.st_mode & S_IXOTH)) { if (stat("/usr/bin/lsb_release", &file) == OK && (file.st_mode & S_IXOTH)) {