zio
/
webhookd-scripts
Archived
2
0
Fork 0

v1: fix broken command tester

main
Ducky 2022-01-05 11:09:24 +00:00
parent bd20420c3d
commit d9150b3432
1 changed files with 1 additions and 1 deletions

2
v1.sh
View File

@ -196,7 +196,7 @@ if [[ ! -z $script_path ]]; then
echo " Started: $started_time"
else
if [[ $event == "pong" ]]; then
if [[ command -v figlet &> /dev/null ]]; then
if [[ $(command -v figlet &> /dev/null) ]]; then
figlet "Pong!"
else
echo "Pong!"