mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:17:34 +00:00
ls: Don't print an empty line if there were no files to show.
Fixes #352.
This commit is contained in:
parent
5f0f1ce9d2
commit
3965fcc484
1 changed files with 2 additions and 1 deletions
|
@ -284,7 +284,8 @@ int do_file_system_object_short(const char* path)
|
|||
printed_on_row = 0;
|
||||
}
|
||||
}
|
||||
printf("\n");
|
||||
if (printed_on_row)
|
||||
printf("\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue