From 7c72327ab5a262b33890a3018280b558655a64a1 Mon Sep 17 00:00:00 2001 From: emersion Date: Mon, 28 Jan 2019 21:59:10 +0100 Subject: [PATCH] Cleanup log_env SWAY_CURSOR_* are not used anymore. LD_PRELOAD_PATH doesn't exist and has been replaced with LD_PRELOAD. --- sway/main.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/sway/main.c b/sway/main.c index 4a92b25a..c824a6fb 100644 --- a/sway/main.c +++ b/sway/main.c @@ -132,13 +132,10 @@ void run_as_ipc_client(char *command, char *socket_path) { static void log_env(void) { const char *log_vars[] = { - "PATH", - "LD_LIBRARY_PATH", - "LD_PRELOAD_PATH", "LD_LIBRARY_PATH", - "SWAY_CURSOR_THEME", - "SWAY_CURSOR_SIZE", - "SWAYSOCK" + "LD_PRELOAD", + "PATH", + "SWAYSOCK", }; for (size_t i = 0; i < sizeof(log_vars) / sizeof(char *); ++i) { sway_log(SWAY_INFO, "%s=%s", log_vars[i], getenv(log_vars[i]));