system() fixed vitrual catch error
This commit is contained in:
+1
-1
@@ -89,7 +89,7 @@ function system(callback) {
|
||||
if (disksById.indexOf('_QEMU_') >= 0 || disksById.indexOf('_VBOX_') >= 0) {
|
||||
result.virtual = true;
|
||||
}
|
||||
} catch {
|
||||
} catch (e) {
|
||||
util.noop();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user