osInfo() fix getLogoFile (BSD)
This commit is contained in:
+1
-1
@@ -272,7 +272,7 @@ function osInfo(callback) {
|
||||
exec('sysctl kern.ostype kern.osrelease kern.osrevision kern.hostuuid machdep.bootmethod kern.geom.confxml', function (error, stdout) {
|
||||
let lines = stdout.toString().split('\n');
|
||||
const distro = util.getValue(lines, 'kern.ostype');
|
||||
const logofile = util.getLogoFile(distro);
|
||||
const logofile = getLogoFile(distro);
|
||||
const release = util.getValue(lines, 'kern.osrelease').split('-')[0];
|
||||
const serial = util.getValue(lines, 'kern.uuid');
|
||||
const bootmethod = util.getValue(lines, 'machdep.bootmethod');
|
||||
|
||||
Reference in New Issue
Block a user