diff --git a/scripts/upgrade b/scripts/upgrade index 2c8a62c..8a5d79f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -105,7 +105,7 @@ if [ "$upgrade_type" == "UPGRADE_APP" ] then # Check if the repo can be updated with git - if [ `cd $final_path && git rev-parse --is-inside-work-tree` ]; + if [ `cd $final_path && git rev-parse --is-inside-work-tree &> /dev/null` ]; then # Update through Git pushd "$final_path"