cargo fmt
This commit is contained in:
parent
5e9ea93819
commit
b6c5d00bec
17 changed files with 264 additions and 277 deletions
10
src/main.rs
10
src/main.rs
|
|
@ -80,10 +80,12 @@ impl State {
|
|||
command.envs(
|
||||
session::get_env(&self.common).expect("WAYLAND_DISPLAY should be valid UTF-8"),
|
||||
);
|
||||
unsafe { command.pre_exec(|| {
|
||||
utils::rlimit::restore_nofile_limit();
|
||||
Ok(())
|
||||
}) };
|
||||
unsafe {
|
||||
command.pre_exec(|| {
|
||||
utils::rlimit::restore_nofile_limit();
|
||||
Ok(())
|
||||
})
|
||||
};
|
||||
|
||||
info!("Running {:?}", exec);
|
||||
command
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue