mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 09:47:35 +00:00
parent
23a5a484d5
commit
5aafbdc4e8
1 changed files with 3 additions and 1 deletions
|
@ -422,7 +422,9 @@ int do_file_system_object_short(const char* path)
|
||||||
{
|
{
|
||||||
if (flag_list_directories_only) {
|
if (flag_list_directories_only) {
|
||||||
size_t nprinted = 0;
|
size_t nprinted = 0;
|
||||||
if (print_filesystem_object_short(path, path, &nprinted))
|
bool status = print_filesystem_object_short(path, path, &nprinted);
|
||||||
|
printf("\n");
|
||||||
|
if (status)
|
||||||
return 0;
|
return 0;
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue