summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authortonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-03 09:15:09 +0000
committertonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-03 09:15:09 +0000
commit6ac6e8d1dc5d399ea88b387d2e68a6fea3492758 (patch)
tree1f4cae4c9665bd269564b9fab9ca8986d56072f4 /tools
parent0edbc2af5fb093121a8661f666ab63341bb20d03 (diff)
downloadchromium_src-6ac6e8d1dc5d399ea88b387d2e68a6fea3492758.zip
chromium_src-6ac6e8d1dc5d399ea88b387d2e68a6fea3492758.tar.gz
chromium_src-6ac6e8d1dc5d399ea88b387d2e68a6fea3492758.tar.bz2
[Telemetry] Don't setpgrp on cros.
It doesn't work there for some reason. BUG= Review URL: https://codereview.chromium.org/314463002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274447 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r--tools/telemetry/telemetry/util/global_hooks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/telemetry/telemetry/util/global_hooks.py b/tools/telemetry/telemetry/util/global_hooks.py
index 4d50417..9b787ec 100644
--- a/tools/telemetry/telemetry/util/global_hooks.py
+++ b/tools/telemetry/telemetry/util/global_hooks.py
@@ -83,7 +83,7 @@ def InstallAtExitHook():
hangs on the builbots.
"""
# TODO(tonyg): Find a way to do something similar on Windows.
- if platform.GetHostPlatform().GetOSName() == 'win':
+ if platform.GetHostPlatform().GetOSName() not in ['linux', 'mac']:
return
# Create new process group and become its leader.