From 261396ee52332e3f717b849e457471d5bcc63cdb Mon Sep 17 00:00:00 2001 From: Storm dragon Date: Thu, 28 Jan 2016 20:02:28 -0500 Subject: [PATCH] Fixed an oversight with the prepend sound. --- src/talking-clock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/talking-clock b/src/talking-clock index 426e85e..623bce8 100755 --- a/src/talking-clock +++ b/src/talking-clock @@ -426,9 +426,9 @@ fi #Play the prepended sound if one is selected #There will be a slight gap between the prepended sound and the actual chiming. #This is to simulate real clocks based on my experience. -if [ "$minute" -eq "0" ]; then +if [ $minute -eq 0 ]; then if [ -f "$soundPack/prepend.ogg" ] ; then - $soundCommand "$prependSound" + $soundCommand "$soundPack/prepend.ogg" fi fi