From d34019e246d92f0eddffec3d0d13194ddc6037dc Mon Sep 17 00:00:00 2001 From: Stefan Reiter Date: Mon, 17 May 2021 14:31:35 +0200 Subject: [PATCH] file-restore-daemon: disk: ignore "invalid fs" error Mainly just causes log spam, we print a more useful error in the end if all mounts fail anyway. Signed-off-by: Stefan Reiter --- src/bin/proxmox_restore_daemon/disk.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/proxmox_restore_daemon/disk.rs b/src/bin/proxmox_restore_daemon/disk.rs index b58a84ff..a59d6360 100644 --- a/src/bin/proxmox_restore_daemon/disk.rs +++ b/src/bin/proxmox_restore_daemon/disk.rs @@ -157,6 +157,7 @@ impl Filesystems { info!("mounting '{}' succeeded, fstype: '{}'", source, fs); return Ok(()); } + Err(nix::Error::Sys(nix::errno::Errno::EINVAL)) => {} Err(err) => { warn!("mount error on '{}' ({}) - {}", source, fs, err); }