address all @dignifiedquire review comments

This commit is contained in:
holger krekel
2019-09-25 22:15:13 +02:00
parent 6cd3580263
commit e1dc4b69f5
2 changed files with 105 additions and 130 deletions

View File

@@ -536,7 +536,7 @@ pub(crate) fn dc_delete_file(context: &Context, path: impl AsRef<std::path::Path
if !path_abs.is_file() {
warn!(
context,
"refusing to deleting non-file \"{}\".",
"refusing to delete non-file \"{}\".",
path.as_ref().display()
);
return false;