mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-11 18:48:26 +00:00
Merge pull request #415 from klightspeed/1.5#fix-e48bd5b
Fix typo in useConfig - should fix #414
This commit is contained in:
commit
2c06b1466f
@ -1646,8 +1646,12 @@ useConfig() {
|
||||
break
|
||||
fi
|
||||
done
|
||||
if [ -a "$configfile" ]; then
|
||||
echo "Error: config file ${configfile} does not exist"
|
||||
if [ -z "$configfile" ]; then
|
||||
echo "Error: no config files for instance $1"
|
||||
exit 1
|
||||
fi
|
||||
if [ ! -f "$configfile" ]; then
|
||||
echo "Error: config file $configfile does not exist"
|
||||
exit 1
|
||||
fi
|
||||
source "$configfile"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user