mirror of
https://github.com/mag37/dockcheck.git
synced 2026-02-14 23:38:15 +01:00
Makes sure only hostname or HOSTNAME is being used. Not both, if they should exist.
This commit is contained in:
parent
7abc8d2b89
commit
8b80034241
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/[hH][oO][sS][tT][nN][aA][mM][eE] 2>/dev/null)
|
FromHost=$(cat /etc/[hH][oO][sS][tT][nN][aA][mM][eE] 2>/dev/null | head -n 1)
|
||||||
|
|
||||||
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