From 7c0c0ba16cca9298cd2d17a82ca225f9efda5384 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Thu, 12 Oct 2017 14:06:43 +1100 Subject: [PATCH] sb: Fix the log after breaking adding --without-log --- source-builder/sb/options.py | 4 ++-- 1 file 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: