Auto merge of #25832 - servo:jdm-patch-36, r=nox

Fix `mach run --headless`

This is a regression from #25350.
This commit is contained in:
bors-servo 2020-02-24 16:20:22 -05:00 committed by GitHub
commit 876f455901
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -126,7 +126,7 @@ class PostBuildCommands(CommandBase):
args = [bin or self.get_nightly_binary_path(nightly) or self.get_binary_path(release, dev)]
if headless:
set_osmesa_env(args[0], env)
set_osmesa_env(args[0], env, debugger is not None)
args.append('-z')
if software: