v1: fix default ping handler not triggering
This commit is contained in:
parent
d9150b3432
commit
82076cfd88
1 changed files with 1 additions and 1 deletions
2
v1.sh
2
v1.sh
|
@ -195,7 +195,7 @@ if [[ ! -z $script_path ]]; then
|
|||
echo " Host: $(hostname) ($(get_os))"
|
||||
echo " Started: $started_time"
|
||||
else
|
||||
if [[ $event == "pong" ]]; then
|
||||
if [[ $event == "ping" ]]; then
|
||||
if [[ $(command -v figlet &> /dev/null) ]]; then
|
||||
figlet "Pong!"
|
||||
else
|
||||
|
|
Reference in a new issue