From 37e46324e53fdcdc2e489b690d3b7348d196084b Mon Sep 17 00:00:00 2001 From: Valentin Deville Date: Sun, 28 Jan 2018 14:47:36 +0100 Subject: [PATCH] Fix bug when connected user is not root --- alert.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alert.sh b/alert.sh index 6443909..0166b71 100755 --- a/alert.sh +++ b/alert.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Import credentials form config file -. ./credentials.config +. /opt/ssh-login-alert-telegram/credentials.config URL="https://api.telegram.org/bot${KEY}/sendMessage" DATE="$(date "+%d %b %Y %H:%M")"