summaryrefslogtreecommitdiff
path: root/doc/update/5.4-to-6.0.md
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2013-10-07 14:16:04 +0200
committerJacob Vosmaer <contact@jacobvosmaer.nl>2013-10-07 14:16:04 +0200
commit83e9825c972796d90e678bb8ed3ddc04ee5b02b8 (patch)
tree4b2c571e1e0e9766206a57ba7cff0938a7cfb3a5 /doc/update/5.4-to-6.0.md
parentb658489f27454a130b813cad95b0bd3f9bdac1c8 (diff)
downloadgitlab-ce-83e9825c972796d90e678bb8ed3ddc04ee5b02b8.tar.gz
Fix sudo commands in update guides
Diffstat (limited to 'doc/update/5.4-to-6.0.md')
-rw-r--r--doc/update/5.4-to-6.0.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/update/5.4-to-6.0.md b/doc/update/5.4-to-6.0.md
index 3b1d9878204..0027d91d60a 100644
--- a/doc/update/5.4-to-6.0.md
+++ b/doc/update/5.4-to-6.0.md
@@ -24,7 +24,7 @@ It's useful to make a backup just in case things go south:
```bash
cd /home/git/gitlab
-sudo -u git -H RAILS_ENV=production bundle exec rake gitlab:backup:create
+sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
```
### 1. Stop server