From 0a258f85be31c5d99317ffdc83cc8735e504ed48 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Fri, 14 Jun 2019 11:28:23 +0200 Subject: Return a different code when git isn't installed --- scripts/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update.sh b/scripts/update.sh index edebe5c5..1f31d429 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -40,7 +40,7 @@ fi # Check for wallabag .git folder if [ ! -d .git ]; then echo "Can not update because wallabag wasn't installed using git (see https://doc.wallabag.org/en/admin/upgrade.html#upgrade-on-a-shared-hosting). Aborting."; - exit 1; + exit 2; fi rm -rf var/cache/* -- cgit v1.2.3