tools: style fixup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
e04d1bfadc
commit
eb90c9e372
@ -188,8 +188,7 @@ pub fn lock_file<F: AsRawFd>(
|
|||||||
file: &mut F,
|
file: &mut F,
|
||||||
exclusive: bool,
|
exclusive: bool,
|
||||||
timeout: Option<Duration>,
|
timeout: Option<Duration>,
|
||||||
) -> Result<(), Error>
|
) -> Result<(), Error> {
|
||||||
{
|
|
||||||
let lockarg =
|
let lockarg =
|
||||||
if exclusive {
|
if exclusive {
|
||||||
nix::fcntl::FlockArg::LockExclusive
|
nix::fcntl::FlockArg::LockExclusive
|
||||||
|
Loading…
Reference in New Issue
Block a user