commit 22237e0b423e49e33293943688a7bdb2db41757d
parent 7c27d73b02a1958f323a7c30f46c99414cd6f6bf
Author: Drew DeVault <sir@cmpwn.com>
Date: Mon, 28 Jan 2019 16:06:12 -0500
Merge pull request #3528 from emersion/cleanup-log-env
Cleanup log_env
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]));