Skip to content

Commit

Permalink
Fix bug when connected user is not root
Browse files Browse the repository at this point in the history
  • Loading branch information
vdeville committed Jan 28, 2018
1 parent dd396b5 commit 37e4632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alert.sh
Original file line number Diff line number Diff line change
@@ -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")"
Expand Down

0 comments on commit 37e4632

Please sign in to comment.