[CentOS] Syntax Help on a Bash Script

Andrew Harley andrew.harley at mdi.net.au
Wed May 4 04:42:26 UTC 2011


On Wed, 2011-05-04 at 00:36 -0400, Steven Crothers wrote:
> Possibly an invisible character. Delete the entire line with "then"
> and re-type it. That error seems odd.
> 

Or could change to:

if [ $? -eq 0 ];then

--

Andy




More information about the CentOS mailing list