mirror of
git://git.proxmox.com/git/proxmox-backup.git
synced 2025-01-20 14:03:53 +03:00
push: treat all missing referenced files as fatal
`try_exists` will return Ok(false) if the path is or containts a dangling symlink, treat that as hard error just like if `try_exists` has returned an Err(..). Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
2492083e37
commit
a304ed7c01
@ -849,7 +849,7 @@ pub(crate) async fn push_snapshot(
|
||||
}
|
||||
}
|
||||
} else {
|
||||
warn!("{path:?} does not exist, skipped.");
|
||||
bail!("{path:?} does not exist, aborting upload.");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user