From 33aca69563406a41da031d01108c132c1d6292db Mon Sep 17 00:00:00 2001 From: Andreas Hartmann Date: Wed, 3 May 2023 19:03:27 +0200 Subject: [PATCH] server: Fix umask conversion caused by updating `daemonize` from 0.4 to 0.5, which broke implicit type conversion on MacOS. --- zellij-server/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zellij-server/src/lib.rs b/zellij-server/src/lib.rs index f82c9d682c..637ac4c878 100644 --- a/zellij-server/src/lib.rs +++ b/zellij-server/src/lib.rs @@ -241,7 +241,7 @@ pub fn start_server(mut os_input: Box, socket_path: PathBuf) { umask(current_umask); daemonize::Daemonize::new() .working_directory(std::env::current_dir().unwrap()) - .umask(current_umask.bits()) + .umask(current_umask.bits() as u32) .start() .expect("could not daemonize the server process");