Fix sudo again.

TBR:dgarrett

Change-Id: Idf2c15b873c4ee6c7865978d62f0b134c149b66f

BUG=chromium-os:10723
TEST=NA

Review URL: http://codereview.chromium.org/6384012
This commit is contained in:
Chris Sosa 2011-01-25 17:59:46 -08:00
parent be787f3525
commit 0f411ec7d9

View File

@ -732,7 +732,8 @@ class DevServerWrapper(threading.Thread):
# Kill previous running instance of devserver if it exists.
RunCommand(['sudo', 'pkill', '-f', 'devserver.py', ], error_ok=True,
print_cmd=False)
self.proc = subprocess.Popen(['./start_devserver',
self.proc = subprocess.Popen(['sudo',
'./start_devserver',
'--archive_dir=./static',
'--client_prefix=ChromeOSUpdateEngine',
'--production',