replace source with .

The command source is unknown in pure sh, so we need to use . as the
source command.
This commit is contained in:
Gibheer 2020-03-06 20:32:21 +01:00
parent 7b3b64bbdc
commit e31f4ab411
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ if [ ! -f "$1" ]; then
exit 1
fi
source "$1"
. "$1"
if [ "$?" -gt "0" ]; then
echo "loading config file caused an error"
exit 1