mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-27 03:51:16 -05:00
fix expression
This commit is contained in:
parent
8791b17f4f
commit
bbf46f1aa2
1 changed files with 2 additions and 3 deletions
|
|
@ -14,7 +14,7 @@
|
|||
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
# PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
# $Id: tests.sh,v 1.22 2011/05/01 11:29:20 marka Exp $
|
||||
# $Id: tests.sh,v 1.23 2011/05/01 21:36:33 marka Exp $
|
||||
|
||||
SYSTEMTESTTOP=..
|
||||
. $SYSTEMTESTTOP/conf.sh
|
||||
|
|
@ -898,8 +898,7 @@ check_interval () {
|
|||
{
|
||||
if ($6 == 0)
|
||||
$6 = 25;
|
||||
x = ($6+ $5*60000 + $4*3600000) -
|
||||
($3+ $2*60000 + $1*3600000);
|
||||
x = ($6+ $5*60000 + $4*3600000) - ($3+ $2*60000 + $1*3600000);
|
||||
x = x/1000;
|
||||
if (x != int(x))
|
||||
x = int(x + 1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue