use proxmox-sys 0.2.1 and proxmox-io 1.0.1

And remove unused code from pbs-tools.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
Dietmar Maurer
2021-11-25 12:30:03 +01:00
parent 577095e2f7
commit 726b9d4469
9 changed files with 6 additions and 47 deletions

View File

@ -140,7 +140,7 @@ fn mount(
// Process should be daemonized.
// Make sure to fork before the async runtime is instantiated to avoid troubles.
let (pr, pw) = pbs_tools::io::pipe()?;
let (pr, pw) = proxmox_sys::pipe()?;
match unsafe { fork() } {
Ok(ForkResult::Parent { .. }) => {
drop(pw);