diff --git a/src/core/parisc.cc b/src/core/parisc.cc index 1e531e32..d6f860c0 100644 --- a/src/core/parisc.cc +++ b/src/core/parisc.cc @@ -520,6 +520,9 @@ static hwNode get_device(long hw_type, long sversion, long hversion) static bool scan_device(hwNode & node, string name = "") { + if(!exists(name)) + return false; + struct dirent **namelist; int n; hwNode * curnode = NULL;