mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-23 23:18:28 +00:00
useconfig now does nothing when useconfig main is used
This commit is contained in:
parent
7b5d8b60f2
commit
c97ed485f5
@ -1138,6 +1138,9 @@ printStatus(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
useConfig() {
|
useConfig() {
|
||||||
|
if [ "$1" == "main" ]; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
for varname in "${!configfile_@}"; do
|
for varname in "${!configfile_@}"; do
|
||||||
if [ "configfile_$1" == "$varname" ]; then
|
if [ "configfile_$1" == "$varname" ]; then
|
||||||
source "${!varname}"
|
source "${!varname}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user