diff options
Diffstat (limited to 'python/servo/post_build_commands.py')
-rw-r--r-- | python/servo/post_build_commands.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/servo/post_build_commands.py b/python/servo/post_build_commands.py index 7bbb8c03ed5..3170e07437a 100644 --- a/python/servo/post_build_commands.py +++ b/python/servo/post_build_commands.py @@ -118,9 +118,10 @@ class PostBuildCommands(CommandBase): rustCommand = 'rust-' + debugger try: subprocess.check_call([rustCommand, '--version'], env=env, stdout=open(os.devnull, 'w')) - command = rustCommand except (OSError, subprocess.CalledProcessError): pass + else: + command = rustCommand # Prepend the debugger args. args = ([command] + self.debuggerInfo.args + |