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");