Fix missing linefeed before last argument in ls
This commit is contained in:
parent
7fa3a6ce32
commit
b6a50e4041
@ -438,7 +438,7 @@ int main (int argc, char * argv[]) {
|
||||
}
|
||||
|
||||
for (int i = first_directory; i < index; ++i) {
|
||||
if ((i != 0) && (i != index-1)) {
|
||||
if (i != 0) {
|
||||
printf("\n");
|
||||
}
|
||||
display_dir(file_arr[i]->name);
|
||||
|
Loading…
Reference in New Issue
Block a user