From 530ba44a86bab4b546c8f58fc209cf7f31927368 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 19 Jul 2021 11:19:23 +0200 Subject: [PATCH] Update scripts/upgrade Co-authored-by: Roman Kupriyanov --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"