Skip to content

Commit

Permalink
fix:[close #342] The installer tells gives an error if the CPU requir…
Browse files Browse the repository at this point in the history
…ement is met

fix: The installer tells gives an error if the CPU requirement is met.
  • Loading branch information
muhdsalm authored Jan 15, 2024
1 parent c30e949 commit e514223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vanilla_installer/core/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ def is_cpu_enough() -> bool:
proc2 = subprocess.Popen("lscpu | egrep 'Socket\(s\)' | awk '{print $2}'",
shell=True, stdout=subprocess.PIPE).stdout\
.read().decode()
Systeminfo.cpu = (int(proc1) * int(proc2)) > 2
Systeminfo.cpu = (int(proc1) * int(proc2)) >= 2

return Systeminfo.cpu

0 comments on commit e514223

Please sign in to comment.