zio
/
webhookd-scripts
Archived
2
0
Fork 0

v1: fix default ping handler not triggering

main
Ducky 2022-01-05 11:10:49 +00:00
parent d9150b3432
commit 82076cfd88
1 changed files with 1 additions and 1 deletions

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