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 <s.reiter@proxmox.com>
This commit is contained in:
parent
7cb2ebba79
commit
d34019e246
@ -157,6 +157,7 @@ impl Filesystems {
|
|||||||
info!("mounting '{}' succeeded, fstype: '{}'", source, fs);
|
info!("mounting '{}' succeeded, fstype: '{}'", source, fs);
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
|
Err(nix::Error::Sys(nix::errno::Errno::EINVAL)) => {}
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
warn!("mount error on '{}' ({}) - {}", source, fs, err);
|
warn!("mount error on '{}' ({}) - {}", source, fs, err);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user