diff --git a/inxi b/inxi index c76b7f9..fd3a9d0 100755 --- a/inxi +++ b/inxi @@ -2355,7 +2355,7 @@ ls_sys() 6)files='/sys/*/*/*/*/*/';; # slows down too much, too big, can cause ls error 7)files='/sys/*/*/*/*/*/*/';; # impossibly big, will fail esac - ls -l $files | awk '{ + ls -l $files 2>/dev/null | awk '{ if (NF > 7) { if ($1 ~/^d/){ f="d - "