diff options
-rwxr-xr-x | color-ls | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -121,7 +121,9 @@ function comma_output() { } END { - if (output == "x") { + if (NR == 0) { + # do nothing + } else if (output == "x") { row_output(); } else if (output == "C") { columns_output(); |