diff --git a/packages/flutter/lib/sky_tool b/packages/flutter/lib/sky_tool index e7c57a02dc..bcb693e1dc 100755 --- a/packages/flutter/lib/sky_tool +++ b/packages/flutter/lib/sky_tool @@ -955,7 +955,7 @@ class StopTracing(object): cmd = [ADB_PATH, 'root'] logging.info(' '.join(cmd)) output = subprocess.check_output(cmd) - match = re.match(r'.*cannot run as root.*', output + match = re.match(r'.*cannot run as root.*', output) if match is not None: logging.error('Unable to download trace file %s\n' 'You need to be able to run adb as root '