[lastbash-cvs] SF.net SVN: lastbash: [239] lastbash/lastbash
Status: Beta
Brought to you by:
cstroie
From: <cs...@us...> - 2007-11-26 09:15:37
|
Revision: 239 http://lastbash.svn.sourceforge.net/lastbash/?rev=239&view=rev Author: cstroie Date: 2007-11-26 01:15:30 -0800 (Mon, 26 Nov 2007) Log Message: ----------- Do not check the player running if the there is no player. Modified Paths: -------------- lastbash/lastbash Modified: lastbash/lastbash =================================================================== --- lastbash/lastbash 2007-08-30 11:35:49 UTC (rev 238) +++ lastbash/lastbash 2007-11-26 09:15:30 UTC (rev 239) @@ -2085,6 +2085,8 @@ # Return if no player is to be used [ "${USE_PLAYER}" != "y" ] && return + debug "${FUNCNAME}: no supported player found" + if ! type -t mkfifo >/dev/null 2>&1 then tui_sbar $"No way to control the player, mkfifo is absent" "2" @@ -2122,6 +2124,8 @@ else debug "${FUNCNAME}: No supported player found" tui_sbar $"No supported player found" + sleep 1 + return "4" fi # Wait a second This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |