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 @@ 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