generated from PlexSheep/rs-base
v0.2.0 #7
|
@ -67,7 +67,10 @@ fn main() {
|
||||||
for data_source in &cli.data_source {
|
for data_source in &cli.data_source {
|
||||||
let data_source: PathBuf = PathBuf::from(data_source);
|
let data_source: PathBuf = PathBuf::from(data_source);
|
||||||
if data_source.is_dir() {
|
if data_source.is_dir() {
|
||||||
warn!("'{:?}' is a directory and cannot be dumped, skipping", data_source);
|
warn!(
|
||||||
|
"'{:?}' is a directory and cannot be dumped, skipping",
|
||||||
|
data_source
|
||||||
|
);
|
||||||
// std::process::exit(1);
|
// std::process::exit(1);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue