mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
Fixed an error output, and forgot to actually commit inxi.tar.gz
This commit is contained in:
parent
c522f4d2a6
commit
b28bcc11a5
2
inxi
2
inxi
|
@ -2355,7 +2355,7 @@ ls_sys()
|
||||||
6)files='/sys/*/*/*/*/*/';; # slows down too much, too big, can cause ls error
|
6)files='/sys/*/*/*/*/*/';; # slows down too much, too big, can cause ls error
|
||||||
7)files='/sys/*/*/*/*/*/*/';; # impossibly big, will fail
|
7)files='/sys/*/*/*/*/*/*/';; # impossibly big, will fail
|
||||||
esac
|
esac
|
||||||
ls -l $files | awk '{
|
ls -l $files 2>/dev/null | awk '{
|
||||||
if (NF > 7) {
|
if (NF > 7) {
|
||||||
if ($1 ~/^d/){
|
if ($1 ~/^d/){
|
||||||
f="d - "
|
f="d - "
|
||||||
|
|
Loading…
Reference in a new issue