I get the error: Not a directory at /usr/bin/lhinv line 491. Running the apps-misc/lhinv 1.1-r4. Reproducible: Always Steps to Reproduce: 1.run the program. Actual Results: I got the aformentioned error. Expected Results: Not to get the error. Here's my quick hack to get it working: CHANGE opendir DIR, $query or die $!; @elems = grep !/^\.\.?$/, readdir DIR; closedir DIR; TO if(-d $query){ opendir DIR, $query or die $!; @elems = grep !/^\.\.?$/, readdir DIR; closedir DIR; } IN /usr/bin/lhinv.
old
Removed.