diff --git a/ucelofka/src/main.rs b/ucelofka/src/main.rs index e9b2d51..1ffce77 100644 --- a/ucelofka/src/main.rs +++ b/ucelofka/src/main.rs @@ -53,7 +53,7 @@ pub fn check_data_dir(root_dir: &Path) -> Result { ))); } } - Ok(root_dir.to_owned()) + Ok(path.to_owned()) } else { Err(anyhow!(get_message( "path-not-exits",