5b6406 Fixed calculation of sleep duration; on some systems/IPs, `hostid` results

Authored and Committed by ensc 14 years ago
    Fixed calculation of sleep duration; on some systems/IPs, `hostid` results
        in a negative number which is retained by the bash modulo-operation. So
        the sleep may get a negative number of seconds being interpreted as an
        option. This version makes sure that the module-operations returns a
        non-negative value. [BZ #164494, James Wilkinson]
    
        
file modified
+2 -1