Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit ab255022297dd99135968c3941e0c39d46f1700f 1 parent 6d8ab4d
Keith Gaughan kgaughan authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  pom
3  pom
View
@@ -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.