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

View File

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