From e31f4ab4111fc456214c08cf200d6ae9a6d4de22 Mon Sep 17 00:00:00 2001 From: Gibheer Date: Fri, 6 Mar 2020 20:32:21 +0100 Subject: [PATCH] replace source with . The command source is unknown in pure sh, so we need to use . as the source command. --- carp_failover | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/carp_failover b/carp_failover index 53f2642..df776be 100644 --- a/carp_failover +++ b/carp_failover @@ -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