diff --git a/ffplayout-frontend b/ffplayout-frontend index 072002c6..92c7a8b0 160000 --- a/ffplayout-frontend +++ b/ffplayout-frontend @@ -1 +1 @@ -Subproject commit 072002c68451a5e7e62046a72ddac1d4bae7fcea +Subproject commit 92c7a8b041c897fe9ed4819a61c500e61fc5318f diff --git a/lib/src/utils/folder.rs b/lib/src/utils/folder.rs index 66b70561..962a5fb4 100644 --- a/lib/src/utils/folder.rs +++ b/lib/src/utils/folder.rs @@ -1,6 +1,5 @@ use std::{ path::Path, - process::exit, sync::{ atomic::{AtomicUsize, Ordering}, {Arc, Mutex}, @@ -46,11 +45,7 @@ impl FolderSource { for path in &path_list { if !Path::new(path).is_dir() { - error!( - "Path not exists: {}", - path - ); - exit(1); + error!("Path not exists: {path}"); } for entry in WalkDir::new(path.clone()) @@ -70,8 +65,6 @@ impl FolderSource { "no playable files found under: {:?}", path_list ); - - exit(1); } if config.storage.shuffle {