fix(wezterm): remove erroneous print from wezterm

This commit is contained in:
Price Hiller 2023-08-22 03:39:47 -05:00
parent 9d430c1b84
commit 629e0791c6
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -13,7 +13,6 @@ local M = {}
local function system_log(message, log_level)
local log_unit = "wezterm"
if os_detected == "linux" then
print(string.format("systemd-cat -t %s -p %s echo '%s'", log_unit, log_level:lower(), message))
local handle = io.popen(string.format("systemd-cat -t %s -p %s echo '%s'", log_unit, log_level:lower(), message))
---@diagnostic disable-next-line: need-check-nil
local output = handle:read("*a")