mirror of https://github.com/Icinga/icinga2.git
parent
4cc9e0dbe1
commit
92056c592e
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue