upgrade: Remove an extraneous `sudo` prefix.

Because scripts/upgrade-zulip-from-git must be run from root anyway.
This commit is contained in:
rht 2017-10-21 09:26:57 +02:00 committed by Tim Abbott
parent 19ccff060a
commit dcb46afa90
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ try:
subprocess.check_call(["ln", '-nsf', deploy_path, os.path.join(DEPLOYMENTS_DIR, "next")])
subprocess.check_call(["sudo", os.path.join(deploy_path, "scripts", "lib", "upgrade-zulip-stage-2"),
subprocess.check_call([os.path.join(deploy_path, "scripts", "lib", "upgrade-zulip-stage-2"),
deploy_path, "--from-git"] + deploy_options)
finally:
release_deployment_lock()