Better delete of file in loopback script

BUG=webrtc:6545
NOTRY=True

Review-Url: https://codereview.webrtc.org/2502783005
Cr-Commit-Position: refs/heads/master@{#15102}
This commit is contained in:
mandermo 2016-11-16 02:31:25 -08:00 committed by Commit bot
parent 613152af11
commit 007cdb5907

View File

@ -74,7 +74,7 @@ def main():
# Delete output video file.
if videoout:
subprocess.check_call(['adb', '-s', devname, 'shell', 'rm',
subprocess.check_call(['adb', '-s', devname, 'shell', 'rm', '-f',
videoout])
device = MonkeyRunner.waitForConnection(2, devname)