mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-11-09 21:49:46 -05:00
upgrade some server deps
I avoided rtcp 0.2.2->0.2.3 because of an accidental semver break.
This commit is contained in:
@@ -28,7 +28,7 @@ enum OpenMode {
|
||||
/// The returned `dir::Fd` holds the lock and should be kept open as long as the `Connection` is.
|
||||
fn open_dir(db_dir: &Path, mode: OpenMode) -> Result<dir::Fd, Error> {
|
||||
let dir = dir::Fd::open(db_dir, mode == OpenMode::Create).map_err(|e| {
|
||||
e.context(if e == nix::Error::Sys(nix::errno::Errno::ENOENT) {
|
||||
e.context(if e == nix::Error::ENOENT {
|
||||
format!(
|
||||
"db dir {} not found; try running moonfire-nvr init",
|
||||
db_dir.display()
|
||||
|
||||
Reference in New Issue
Block a user