v1: fix default ping handler not triggering
parent
d9150b3432
commit
82076cfd88
2
v1.sh
2
v1.sh
|
@ -195,7 +195,7 @@ if [[ ! -z $script_path ]]; then
|
||||||
echo " Host: $(hostname) ($(get_os))"
|
echo " Host: $(hostname) ($(get_os))"
|
||||||
echo " Started: $started_time"
|
echo " Started: $started_time"
|
||||||
else
|
else
|
||||||
if [[ $event == "pong" ]]; then
|
if [[ $event == "ping" ]]; then
|
||||||
if [[ $(command -v figlet &> /dev/null) ]]; then
|
if [[ $(command -v figlet &> /dev/null) ]]; then
|
||||||
figlet "Pong!"
|
figlet "Pong!"
|
||||||
else
|
else
|
||||||
|
|
Reference in New Issue