On Jul 25, 2005 at 11:09, chris <chris(a)fivestartel.com> wrote:
hi jan,
yes, the line is correct
attempt=$(($attempt + 1))
I'm using solaris 5.9 Generic_112233-07 sun4u sparc SUNW,Ultra-60 (solrais
9)
The serctl script uses some non-sh specific features (like
attempt=$(($attempt + 1))).
Try to change #!/bin/sh to #!/bin/bash (or #!/usr/local/bin/bash)
or try to replace all the lines of the form a=$(($a+1) with
a=`expr $a + 1`.
This will be fixed on cvs.
Andrei