mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-25 15:58:27 +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
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
if [ -a "$configfile" ]; then
|
if [ -z "$configfile" ]; then
|
||||||
echo "Error: config file ${configfile} does not exist"
|
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
|
exit 1
|
||||||
fi
|
fi
|
||||||
source "$configfile"
|
source "$configfile"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user