mirror of
https://github.com/mag37/dockcheck.git
synced 2026-03-11 03:12:51 +01:00
[Issue 255] Fix Notifiy also checking for /etc/HOSTNAME
This commit is contained in:
parent
4e0b705b8b
commit
7abc8d2b89
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ done
|
||||||
|
|
||||||
enabled_notify_templates=( "${!unique_templates[@]}" )
|
enabled_notify_templates=( "${!unique_templates[@]}" )
|
||||||
|
|
||||||
FromHost=$(cat /etc/hostname)
|
FromHost=$(cat /etc/[hH][oO][sS][tT][nN][aA][mM][eE] 2>/dev/null)
|
||||||
|
|
||||||
CurrentEpochTime=$(date +"%Y-%m-%dT%H:%M:%S")
|
CurrentEpochTime=$(date +"%Y-%m-%dT%H:%M:%S")
|
||||||
CurrentEpochSeconds=$(date +%s)
|
CurrentEpochSeconds=$(date +%s)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue