Remove suspicious unconditional return

This return effectively disables the log_kernel function
master
Tobias Blass 7 years ago
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…
Cancel
Save