diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-10-21 14:46:17 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-10-21 14:46:17 +0200 |
commit | d16a0ad85174558388df721a9285aae71d83bc30 (patch) | |
tree | 24b37a3b298f4fc7f63b9681463af98df28c39fa /scripts/upgrade.sh | |
parent | 068bfc0ad57e9cc0dda7e8439c025ddb44847e36 (diff) | |
download | PeerTube-d16a0ad85174558388df721a9285aae71d83bc30.tar.gz PeerTube-d16a0ad85174558388df721a9285aae71d83bc30.tar.zst PeerTube-d16a0ad85174558388df721a9285aae71d83bc30.zip |
Fix upgrade script
Diffstat (limited to 'scripts/upgrade.sh')
-rwxr-xr-x | scripts/upgrade.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/upgrade.sh b/scripts/upgrade.sh index 1299ac55a..022e76107 100755 --- a/scripts/upgrade.sh +++ b/scripts/upgrade.sh | |||
@@ -3,7 +3,7 @@ | |||
3 | 3 | ||
4 | git pull origin $(git rev-parse --abbrev-ref HEAD) || exit -1 | 4 | git pull origin $(git rev-parse --abbrev-ref HEAD) || exit -1 |
5 | 5 | ||
6 | if [[ `pgrep peertube` > /dev/null ]]; then | 6 | if pgrep peertube > /dev/null; then |
7 | echo 'PeerTube is running!' | 7 | echo 'PeerTube is running!' |
8 | exit 0 | 8 | exit 0 |
9 | fi | 9 | fi |