Re: Syntax Help on a Bash Script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux