> >   [[ ${V} = "y" ]] && func2
> 
> replace that line with
> 
> if [[ ${V} = "y" ]]; then func2; fi
> 
> and it'll do what you want.

This will also work.

[[ ${V} = "y" ]] && func2 || true

Kind Regards,
Ario


  I like Salmonfish .


                
____________________________________________________ 
Do you Yahoo!?  
Great meals in less than 30 mins - Family Circle Sept – out now 
http://www.familycircle.com.au 

-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to