Deleted even more trailing whitespace, changed an error condition in get_config
This commit is contained in:
parent
0a8a045b29
commit
ba3ee00dca
5
qq2clone
5
qq2clone
|
@ -188,7 +188,7 @@ done
|
||||||
{ echo "This script won't run until you install the listed software" >&2;
|
{ echo "This script won't run until you install the listed software" >&2;
|
||||||
exit "$E_depends"; }
|
exit "$E_depends"; }
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
#=========================================================================#
|
#=========================================================================#
|
||||||
disp_conf_names ()
|
disp_conf_names ()
|
||||||
|
@ -343,7 +343,7 @@ read -r check \
|
||||||
< <(sqlite3 "select exists ( select * from CONFIG)")
|
< <(sqlite3 "select exists ( select * from CONFIG)")
|
||||||
((check)) ||
|
((check)) ||
|
||||||
{ echo "Is the database corrupt? No CONFIG table!" 2>/dev/null;
|
{ echo "Is the database corrupt? No CONFIG table!" 2>/dev/null;
|
||||||
unexpected_error get_config; }
|
exit "$E_config"; }
|
||||||
|
|
||||||
declare -gA OPT
|
declare -gA OPT
|
||||||
declare -a opts
|
declare -a opts
|
||||||
|
@ -377,6 +377,7 @@ return 0
|
||||||
#---USAGE INFORMATION---#
|
#---USAGE INFORMATION---#
|
||||||
#@@@@@@@@@@@@@@@@@@@@@@@#
|
#@@@@@@@@@@@@@@@@@@@@@@@#
|
||||||
#-----------------------#
|
#-----------------------#
|
||||||
|
|
||||||
#=========================================================================#
|
#=========================================================================#
|
||||||
usage ()
|
usage ()
|
||||||
# DESCRIPTION: Output basic usage information
|
# DESCRIPTION: Output basic usage information
|
||||||
|
|
Loading…
Reference in New Issue