diff options
author | joe <joe@FreeBSD.org> | 2001-12-28 18:20:23 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2001-12-28 18:20:23 +0000 |
commit | 731819d234316237964ff0efc06686e69ff8a776 (patch) | |
tree | 8587db1691e2849266b34862986b137c573e32ec /bin/ls | |
parent | dcc10c8b7bb3b7cde69a46f68456a1ed92d1c8fc (diff) | |
download | FreeBSD-src-731819d234316237964ff0efc06686e69ff8a776.zip FreeBSD-src-731819d234316237964ff0efc06686e69ff8a776.tar.gz |
Use the default colour instead if a bad colour specification is given.
Diffstat (limited to 'bin/ls')
-rw-r--r-- | bin/ls/print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ls/print.c b/bin/ls/print.c index d03a2fd..86cf445 100644 --- a/bin/ls/print.c +++ b/bin/ls/print.c @@ -500,7 +500,7 @@ char *cs; fprintf(stderr, "error: invalid character '%c' in LSCOLORS" " env var\n", c[j]); - colors[i].num[j] = defcolors[2*i+j]-'0'; + colors[i].num[j] = -1; } } } |