mirror of
https://github.com/swaywm/sway.git
synced 2024-11-26 18:01:29 +00:00
Remove suspicious unconditional return
This return effectively disables the log_kernel function
This commit is contained in:
parent
0f71547032
commit
d6d292897f
|
@ -160,7 +160,6 @@ static void log_distro() {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void log_kernel() {
|
static void log_kernel() {
|
||||||
return;
|
|
||||||
FILE *f = popen("uname -a", "r");
|
FILE *f = popen("uname -a", "r");
|
||||||
if (!f) {
|
if (!f) {
|
||||||
wlr_log(L_INFO, "Unable to determine kernel version");
|
wlr_log(L_INFO, "Unable to determine kernel version");
|
||||||
|
|
Loading…
Reference in a new issue