diff options
author | emersion <contact@emersion.fr> | 2019-01-28 21:59:10 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2019-01-28 21:59:10 +0100 |
commit | 7c72327ab5a262b33890a3018280b558655a64a1 (patch) | |
tree | f50b3f5f1e56f61b321ec6313c6c3929a847b05c | |
parent | 7c27d73b02a1958f323a7c30f46c99414cd6f6bf (diff) |
Cleanup log_env
SWAY_CURSOR_* are not used anymore. LD_PRELOAD_PATH doesn't exist and has been
replaced with LD_PRELOAD.
-rw-r--r-- | sway/main.c | 9 |
1 files 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])); |