Check for lv_api_do in get_config

This commit is contained in:
Jesse Gardner 2021-03-30 11:18:14 -07:00
parent b2a3ab8dfb
commit fd781409f1
1 changed files with 4 additions and 0 deletions

View File

@ -415,6 +415,10 @@ read -r check \
{ echo "Is the database corrupt? No CONFIG table!" 2>/dev/null;
exit "$E_config"; }
chmod +x "${QQ2_DIR}/lv_api_do" &>/dev/null ||
{ echo "lv_api_do is missing from $QQ2_DIR, or has bad permissions";
exit "$E_permission"; } >&2
declare -gA OPT
declare -a opts
local elem