summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/monitordisk.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/monitordisk.py')
-rw-r--r--bitbake/lib/bb/monitordisk.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/monitordisk.py b/bitbake/lib/bb/monitordisk.py
index 04f090cbe6..9baba5e73b 100644
--- a/bitbake/lib/bb/monitordisk.py
+++ b/bitbake/lib/bb/monitordisk.py
@@ -136,7 +136,7 @@ def getInterval(configuration):
136 136
137 """ Get the disk space interval """ 137 """ Get the disk space interval """
138 138
139 interval = configuration.getVar("BB_DISKMON_WARNINTERVAL", 1) 139 interval = configuration.getVar("BB_DISKMON_WARNINTERVAL", True)
140 if not interval: 140 if not interval:
141 # The default value is 50M and 5K. 141 # The default value is 50M and 5K.
142 return 50 * 1024 * 1024, 5 * 1024 142 return 50 * 1024 * 1024, 5 * 1024
@@ -170,7 +170,7 @@ class diskMonitor:
170 170
171 self.enableMonitor = False 171 self.enableMonitor = False
172 172
173 BBDirs = configuration.getVar("BB_DISKMON_DIRS", 1) or None 173 BBDirs = configuration.getVar("BB_DISKMON_DIRS", True) or None
174 if BBDirs: 174 if BBDirs:
175 self.devDict = getDiskData(BBDirs, configuration) 175 self.devDict = getDiskData(BBDirs, configuration)
176 if self.devDict: 176 if self.devDict: