summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting')
-rwxr-xr-xsource4/scripting/bin/subunitrun2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/bin/subunitrun b/source4/scripting/bin/subunitrun
index db8f52fb4a..df46b08801 100755
--- a/source4/scripting/bin/subunitrun
+++ b/source4/scripting/bin/subunitrun
@@ -79,7 +79,7 @@ else:
opts, args = parser.parse_args()
-if opts.listtests:
+if getattr(opts, "listtests", False):
args.insert(0, "--list")
else:
lp = sambaopts.get_loadparm()