Index: build/android/install_emulator_deps.py |
diff --git a/build/android/install_emulator_deps.py b/build/android/install_emulator_deps.py |
index ff84367a7ec0bf7fed7d4a890cf0ae79c411ca66..bb544c21ec995098e463bb53de5ecb372035ebd1 100755 |
--- a/build/android/install_emulator_deps.py |
+++ b/build/android/install_emulator_deps.py |
@@ -59,8 +59,10 @@ def CheckKVM(): |
Returns: |
True if kvm-ok returns 0 (already enabled) |
""" |
- rc = cmd_helper.RunCmd(['kvm-ok']) |
- return not rc |
+ try: |
+ return not cmd_helper.RunCmd(['kvm-ok']) |
+ except OSError: |
+ return False |
navabi
2013/04/08 20:11:48
Nice. I have this fix in this patch:
https://coder
|
def GetSDK(): |