Fix auto-restart functionality with new paths.

(imported from commit cbaf31a194c92a3683249f38f2949259d05d0921)
This commit is contained in:
Tim Abbott 2012-10-29 17:06:58 -04:00
parent 5aadd74f0c
commit 874bee9655

View file

@ -174,7 +174,7 @@ def maybe_restart_mirroring_script():
os.kill(child_pid, signal.SIGKILL)
while True:
try:
os.execvp(root_path + "/zephyr_mirror.py", sys.argv)
os.execvp(root_path + "/user_root/zephyr_mirror.py", sys.argv)
except:
print "Error restarting, trying again."
traceback.print_exc()