Use . instead of source

fixes #6450
This commit is contained in:
Jean Flach 2018-07-18 13:35:27 +02:00
parent 4cc9e0dbe1
commit 92056c592e
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
# Load sysconf on systems where the initsystem does not pass the environment # Load sysconf on systems where the initsystem does not pass the environment
if [ "$1" != "" ]; then if [ "$1" != "" ]; then
if [ -r "$1" ]; then if [ -r "$1" ]; then
source "$1" . "$1"
else else
echo "Unable to read sysconf from '$1'. Exiting." && exit 6 echo "Unable to read sysconf from '$1'. Exiting." && exit 6
fi fi

View File

@ -3,7 +3,7 @@
# Load sysconf on systems where the initsystem does not pass the environment # Load sysconf on systems where the initsystem does not pass the environment
if [ "$1" != "" ]; then if [ "$1" != "" ]; then
if [ -r "$1" ]; then if [ -r "$1" ]; then
source "$1" . "$1"
else else
echo "Unable to read sysconf from '$1'. Exiting." && exit 6 echo "Unable to read sysconf from '$1'. Exiting." && exit 6
fi fi