This commit is contained in:
VirtuBox
2019-07-30 12:29:19 +02:00
parent 584feafc5e
commit 1fe77cc5b3

View File

@@ -1710,7 +1710,7 @@ class WOStackController(CementBaseController):
meminfo = (os.popen('cat /proc/meminfo '
'| grep MemTotal').read()).split(" ")
memsplit = (meminfo[1]).split(" ")
wo_mem = int(mem[0])
wo_mem = int(memsplit[0])
if wo_mem < 4000000:
WOSwap.add(self)
Log.info(self, "Updating apt-cache, please wait...")