Skip to content

Commit 37e4632

Browse files
committed
Fix bug when connected user is not root
1 parent dd396b5 commit 37e4632

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alert.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
# Import credentials form config file
4-
. ./credentials.config
4+
. /opt/ssh-login-alert-telegram/credentials.config
55

66
URL="https://api.telegram.org/bot${KEY}/sendMessage"
77
DATE="$(date "+%d %b %Y %H:%M")"

0 commit comments

Comments
 (0)