]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix upgrade script
authorChocobozzz <florian.bigard@gmail.com>
Fri, 21 Oct 2016 12:46:17 +0000 (14:46 +0200)
committerChocobozzz <florian.bigard@gmail.com>
Fri, 21 Oct 2016 12:46:17 +0000 (14:46 +0200)
scripts/upgrade.sh

index 1299ac55a06ef5a9268e03107c9fd651947cc84a..022e76107dd9ac2ae04ea6c9841198322bb73e29 100755 (executable)
@@ -3,7 +3,7 @@
 
 git pull origin $(git rev-parse --abbrev-ref HEAD) || exit -1
 
-if [[ `pgrep peertube` > /dev/null ]]; then
+if pgrep peertube > /dev/null; then
   echo 'PeerTube is running!'
   exit 0
 fi