diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-14 18:39:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-14 18:39:46 +0300 |
commit | 34a2f1977472a063c5b15c02ab1c83a6961efbcb (patch) | |
tree | 25d84f52827618d31f42fc89b7f190f6c683be26 /status.sh | |
parent | abc5b7dd12cb6ee1796280af1d96bb70c57a901e (diff) | |
download | all-34a2f1977472a063c5b15c02ab1c83a6961efbcb.tar.gz all-34a2f1977472a063c5b15c02ab1c83a6961efbcb.tar.bz2 all-34a2f1977472a063c5b15c02ab1c83a6961efbcb.tar.xz all-34a2f1977472a063c5b15c02ab1c83a6961efbcb.zip |
Fix db check if tools task was not installed.
Diffstat (limited to 'status.sh')
-rwxr-xr-x | status.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |