fs_tool: add missing whitespace in warning message

This commit is contained in:
Norman Feske 2023-03-20 17:50:43 +01:00 committed by Christian Helmuth
parent 123df93741
commit ed8e8b9473
2 changed files with 4 additions and 4 deletions

View File

@ -3,9 +3,9 @@
<events> <events>
<timeout meaning="failed" sec="20" /> <timeout meaning="failed" sec="20" />
<log meaning="succeeded"> <log meaning="succeeded">
[init -> test -> remove] *file/items cannot be removed because it is a directory* [init -> test -> remove] *file /items cannot be removed because it is a directory*
[init -> test -> remove] remove file /items/2* [init -> test -> remove] remove file /items/2*
[init -> test -> remove] *file/3 cannot be removed because there is no such file* [init -> test -> remove] *file /3 cannot be removed because there is no such file*
[init -> test -> remove] remove file /4* [init -> test -> remove] remove file /4*
[init -> report_rom] report 'test -> fs_query -> listing' [init -> report_rom] report 'test -> fs_query -> listing'
[init -> report_rom] &lt;listing> [init -> report_rom] &lt;listing>

View File

@ -108,9 +108,9 @@ void Fs_tool::Main::_remove_file(Xml_node const &operation)
if (_verbose) { if (_verbose) {
if (_root_dir.directory_exists(path)) if (_root_dir.directory_exists(path))
warning("file", path, " cannot be removed because it is a directory"); warning("file ", path, " cannot be removed because it is a directory");
else else
warning("file", path, " cannot be removed because there is no such file"); warning("file ", path, " cannot be removed because there is no such file");
} }
return; return;
} }