summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2017-10-12 14:06:43 +1100
committerChris Johns <chrisj@rtems.org>2017-10-12 14:06:43 +1100
commit7c0c0ba16cca9298cd2d17a82ca225f9efda5384 (patch)
treed9f623a45f0eab7f4cd7af279ecc7f93e64941a9
parent4.12: Update all MD5 hashes to SHA256. (diff)
downloadrtems-source-builder-7c0c0ba16cca9298cd2d17a82ca225f9efda5384.tar.bz2
sb: Fix the log after breaking adding --without-log
-rw-r--r--source-builder/sb/options.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source-builder/sb/options.py b/source-builder/sb/options.py
index 3c3b2ff..7bbdd8c 100644
--- a/source-builder/sb/options.py
+++ b/source-builder/sb/options.py
@@ -281,8 +281,8 @@ class command_line:
def post_process(self, logfile = True):
# Handle the log first.
- logctrl = self.get_arg('--without-log')
- if logctrl is not None and logfile:
+ logctrl = self.parse_args('--without-log')
+ if logctrl is None:
if logfile:
logfiles = self.logfiles()
else: