On Wednesday 15 August 2012 06:14:34 Jan Stancek wrote:
> +has_tty()
> +{
> + if command -v stty >/dev/null 2>&1; then
> + stty --file=$1 > /dev/null
> + if [ $? -ne 0 ]; then
> + return 0;
> + fi
> + fi
> + return 1;no need for the trailing semi colons on either of those return statements > + continue; or here > + continue; or here -mike
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
