From 101274c56b0d4094d82cdb6093ffb98bed767be2 Mon Sep 17 00:00:00 2001 From: Aaron Johnon Date: Wed, 21 Jul 2021 03:57:59 -0500 Subject: [PATCH] POSIX compliance edit --- http_check_telegram | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/http_check_telegram b/http_check_telegram index f4d5d0a..451013b 100755 --- a/http_check_telegram +++ b/http_check_telegram @@ -7,14 +7,14 @@ CONFIG=$1 ### Provides KEY, CHATID, CHKLIST if [ -n "$CONFIG" ]; then if [ -f "$CONFIG" ]; then - source $CONFIG + . $CONFIG #Source config file else printf '%s\n' "$CONFIG: File does not exist." >&2 exit 10 fi else if [ -f ".httpcheck_telegram" ]; then - source .httpcheck_telegram + . .httpcheck_telegram #Source config file else printf '%s\n' "No configuration file found." >&2 exit 10