From d6d292897fe589c8734ec7f7304fbd5f1a05c059 Mon Sep 17 00:00:00 2001 From: Tobias Blass Date: Tue, 5 Jun 2018 23:27:35 +0200 Subject: Remove suspicious unconditional return This return effectively disables the log_kernel function --- sway/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sway/main.c b/sway/main.c index e03b8e3a..a7e808ad 100644 --- a/sway/main.c +++ b/sway/main.c @@ -160,7 +160,6 @@ static void log_distro() { } static void log_kernel() { - return; FILE *f = popen("uname -a", "r"); if (!f) { wlr_log(L_INFO, "Unable to determine kernel version"); -- cgit v1.2.3-54-g00ecf