bore

Unnamed repository
Log | Files | Refs | README

commit 8cc6cb9d2064c9e93a5420b6654d2cb298f2a906
parent 9131e5cd54ec132273ef76e1b565caeee2ff31c4
Author: phoebos <ben@bvnf.space>
Date:   Tue, 21 Sep 2021 00:55:32 +0100

ls: fix trailing newline

Diffstat:
Mls.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ls.c b/ls.c @@ -118,7 +118,7 @@ main(int argc, char **argv) { else while (*++argv) ret_val = ls(*argv, flags); - if (!flags & FLAG_1) + if (!(flags & FLAG_1)) puts(""); /* final newline */ return ret_val;