v1: fix broken command tester
parent
bd20420c3d
commit
d9150b3432
2
v1.sh
2
v1.sh
|
@ -196,7 +196,7 @@ if [[ ! -z $script_path ]]; then
|
||||||
echo " Started: $started_time"
|
echo " Started: $started_time"
|
||||||
else
|
else
|
||||||
if [[ $event == "pong" ]]; then
|
if [[ $event == "pong" ]]; then
|
||||||
if [[ command -v figlet &> /dev/null ]]; then
|
if [[ $(command -v figlet &> /dev/null) ]]; then
|
||||||
figlet "Pong!"
|
figlet "Pong!"
|
||||||
else
|
else
|
||||||
echo "Pong!"
|
echo "Pong!"
|
||||||
|
|
Reference in New Issue