system() fixed vitrual catch error

This commit is contained in:
Sebastian Hildebrandt
2021-01-06 17:21:46 +01:00
parent 4d314a85d2
commit 8709977d78
4 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ function system(callback) {
if (disksById.indexOf('_QEMU_') >= 0 || disksById.indexOf('_VBOX_') >= 0) {
result.virtual = true;
}
} catch {
} catch (e) {
util.noop();
}
}