View Single Post
Posts: 89 | Thanked: 52 times | Joined on Jan 2010 @ London, UK
#461
geojoking, did you copy it by copy-and-paste to your phone, and made sure you didn't miss any of it? Or did you do any typing?
Am wondering if one of:

a) the 'if' in the top comments got put onto its own new line and considered a command instead of (as it should be) at the end of the "# Function: " comment line at top
b) its being picky over the ";" immediately next to the "]" on the last if/then/fi block - after the $retrys -lt 5, separate them (though that shouldn't be reason).
c) The comment line lost its "#" just before the "if we connected just for this" online ~31 or so.


Just some thoughts having not tried it/not quite sure of differences between the n900 shell and regular bash shell on another box.