[Lunar-commits] <lunar> keep the console clean when sounds play.

Auke Kok sofar at foo-projects.org
Sun Jun 24 02:13:25 CEST 2012


commit 84190a71f5040089015ef4d00f6742e38ff99932
Author: Auke Kok <sofar at foo-projects.org>
Date:   Sat Jun 23 17:13:25 2012 -0700

    keep the console clean when sounds play.
---
 libs/messages.lunar |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libs/messages.lunar b/libs/messages.lunar
index fcbfe39..bc238d9 100644
--- a/libs/messages.lunar
+++ b/libs/messages.lunar
@@ -219,7 +219,7 @@ sound()
   debug_msg "sound ($@)"
   if [ "$SOUND" == "on" ]; then
     if [ -f "$SOUND_DIRECTORY/$SOUND_THEME/$1" ]; then
-	  ( cd / ; play "$SOUND_DIRECTORY/$SOUND_THEME/$1" & )
+	  ( cd / ; play "$SOUND_DIRECTORY/$SOUND_THEME/$1" > /dev/null 2>&1 & )
 	fi
   fi
 }


More information about the Lunar-commits mailing list