tools: style fixup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2019-03-20 09:57:13 +01:00
parent e04d1bfadc
commit eb90c9e372
1 changed files with 1 additions and 2 deletions

View File

@ -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