diff options
author | Kunal Mohan <kunalmohan99@gmail.com> | 2021-05-04 13:48:19 +0530 |
---|---|---|
committer | Kunal Mohan <kunalmohan99@gmail.com> | 2021-05-04 20:48:18 +0530 |
commit | 585b225290df3e44a86555490dc9170f88148fa6 (patch) | |
tree | 3709b0cb99ea5a32d1ebc7d4fb3cae6c47dfe0c0 /src/main.rs | |
parent | a05a12dbec77bc381054cf245ce2f4696eaf1727 (diff) |
Use ZELLIJ_SOCKET_DIR env variable and make user specific tmp dir
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 6ee344bc1..44b985494 100644 --- a/src/main.rs +++ b/src/main.rs @@ -49,8 +49,8 @@ pub fn main() { setup::dump_default_config().expect("Failed to print to stdout"); std::process::exit(1); } else { - atomic_create_dir(ZELLIJ_TMP_DIR).unwrap(); - atomic_create_dir(ZELLIJ_TMP_LOG_DIR).unwrap(); + atomic_create_dir(&*ZELLIJ_TMP_DIR).unwrap(); + atomic_create_dir(&*ZELLIJ_TMP_LOG_DIR).unwrap(); let server_os_input = get_server_os_input(); let os_input = get_client_os_input(); start(Box::new(os_input), opts, Box::new(server_os_input), config); |