depend on proxmox 0.4.2

This commit is contained in:
Dietmar Maurer
2020-09-28 10:50:44 +02:00
parent bbeb0256f1
commit b56c111e93
10 changed files with 23 additions and 23 deletions

View File

@ -97,7 +97,7 @@ where
{
let mut path = path.as_ref().to_path_buf();
path.set_extension("lck");
let lock = open_file_locked(&path, Duration::new(10, 0))?;
let lock = open_file_locked(&path, Duration::new(10, 0), true)?;
let backup_user = crate::backup::backup_user()?;
nix::unistd::chown(&path, Some(backup_user.uid), Some(backup_user.gid))?;
Ok(lock)