summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xstatus.sh3
1 files changed, 3 insertions, 0 deletions
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