From 34a2f1977472a063c5b15c02ab1c83a6961efbcb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 14 Nov 2015 18:39:46 +0300 Subject: Fix db check if tools task was not installed. --- status.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/status.sh b/status.sh index ed7190d..7ebe604 100755 --- a/status.sh +++ b/status.sh @@ -8,6 +8,9 @@ function reportdb { } function dbinfo { + if [ ! -d "tools" ]; then + return + fi export VER=$(cat tools/localserver/versions/sqlver 2>/dev/null) if [[ -n "${VER}" ]]; then -- cgit v1.2.3-60-g2f50