v1: fix broken command tester
This commit is contained in:
parent
bd20420c3d
commit
d9150b3432
1 changed files with 1 additions and 1 deletions
2
v1.sh
2
v1.sh
|
@ -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!"
|
||||
|
|
Reference in a new issue