commit 7c72327ab5a262b33890a3018280b558655a64a1
parent 7c27d73b02a1958f323a7c30f46c99414cd6f6bf
Author: emersion <contact@emersion.fr>
Date: Mon, 28 Jan 2019 21:59:10 +0100
Cleanup log_env
SWAY_CURSOR_* are not used anymore. LD_PRELOAD_PATH doesn't exist and has been
replaced with LD_PRELOAD.
Diffstat:
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git 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]));