2
0
Fork 0

v1: fix default ping handler not triggering

This commit is contained in:
Ducky 2022-01-05 11:10:49 +00:00
parent d9150b3432
commit 82076cfd88

2
v1.sh
View file

@ -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