Skip to content

Commit 2b0899f

Browse files
authored
Merge pull request #3707 from alextychan/fix/issue-3706
Add nested virtualization checks for linux
2 parents 958c9a2 + c9b11b4 commit 2b0899f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

background.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ async function checkPrerequisites() {
280280
try {
281281
const data = await fs.promises.readFile(nestedFile, { encoding: 'utf8' });
282282

283-
if (data && data.toLowerCase()[0] === 'y' ) {
283+
if (data && (data.toLowerCase()[0] === 'y' || data[0] === '1')) {
284284
messageId = 'ok';
285285
break;
286286
}

0 commit comments

Comments
 (0)