Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Ensure the bell can be triggered if no speech software is found.

  • Loading branch information...
commit ab255022297dd99135968c3941e0c39d46f1700f 1 parent 6d8ab4d
@kgaughan kgaughan authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  pom
View
3  pom
@@ -56,8 +56,9 @@ function finish {
function safe_say {
for cmd in espeak say
do
- which $cmd >/dev/null && $cmd "$1" 2>/dev/null && break
+ which $cmd >/dev/null && $cmd "$1" 2>/dev/null && return
done
+ return 1
}
# Try to ring the terminal bell.
Please sign in to comment.
Something went wrong with that request. Please try again.