mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-12 02:48:27 +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() {
|
||||
if [ "$1" == "main" ]; then
|
||||
return
|
||||
fi
|
||||
for varname in "${!configfile_@}"; do
|
||||
if [ "configfile_$1" == "$varname" ]; then
|
||||
source "${!varname}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user