diff options
| author | Tobias Blass <tobiasblass@t-online.de> | 2018-06-05 23:27:35 +0200 |
|---|---|---|
| committer | Tobias Blass <tobiasblass@t-online.de> | 2018-06-05 23:27:35 +0200 |
| commit | d6d292897fe589c8734ec7f7304fbd5f1a05c059 (patch) | |
| tree | a9c4c3b4ea4ae3e9dc70ad21cbea057a639d5160 | |
| parent | 0f715470328cbb5be77f95c7e209ce6bace2ef19 (diff) | |
| download | sway-d6d292897fe589c8734ec7f7304fbd5f1a05c059.tar.xz | |
Remove suspicious unconditional return
This return effectively disables the log_kernel function
| -rw-r--r-- | sway/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
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"); |
