diff --git a/python/servo/command_base.py b/python/servo/command_base.py index b84a811c76b..5e89af3fd47 100644 --- a/python/servo/command_base.py +++ b/python/servo/command_base.py @@ -537,7 +537,7 @@ class CommandBase(object): try: if check_gstreamer_lib(): return False - except subprocess.SubprocessError: + except (FileNotFoundError, WindowsError): # Some systems don't have pkg-config; we can't probe in this case # and must hope for the best return False