Skip to content

Commit

Permalink
server: Fix umask conversion
Browse files Browse the repository at this point in the history
caused by updating `daemonize` from 0.4 to 0.5, which broke implicit
type conversion on MacOS.
  • Loading branch information
har7an committed May 3, 2023
1 parent 4f2704b commit 33aca69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zellij-server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ pub fn start_server(mut os_input: Box<dyn ServerOsApi>, 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");

Expand Down

0 comments on commit 33aca69

Please sign in to comment.