]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - scripts/update.sh
Return a different code when git isn't installed
[github/wallabag/wallabag.git] / scripts / update.sh
index edebe5c52a1b59c96ad44ffbbef2477fb3a43368..1f31d429c44b047cd5137de3fff26f03a73674c5 100755 (executable)
@@ -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/*