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,
|
||||
exclusive: bool,
|
||||
timeout: Option<Duration>,
|
||||
) -> Result<(), Error>
|
||||
{
|
||||
) -> Result<(), Error> {
|
||||
let lockarg =
|
||||
if exclusive {
|
||||
nix::fcntl::FlockArg::LockExclusive
|
||||
|
|
Loading…
Reference in New Issue