summaryrefslogtreecommitdiff
path: root/scripts/paycheck.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/paycheck.py')
-rwxr-xr-xscripts/paycheck.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/paycheck.py b/scripts/paycheck.py
index 5290e9d5..0195f531 100755
--- a/scripts/paycheck.py
+++ b/scripts/paycheck.py
@@ -117,7 +117,7 @@ def ParseArguments(argv):
parser.error('invalid argument to --disabled_tests: %s' % test)
# Ensure consistent use of block tracing options.
- do_block_trace = opts.root_block or opts.kern_block
+ do_block_trace = not (opts.root_block is None and opts.kern_block is None)
if opts.skip and not do_block_trace:
parser.error('--skip must be used with either --root-block or --kern-block')