Skip to content

Commit

Permalink
Merge pull request #1 from ni-kweutzing/bugfix/maxwait_numerical
Browse files Browse the repository at this point in the history
changed bc scale from 10 to 0 to get back integer
  • Loading branch information
ni-kweutzing committed Jun 9, 2021
2 parents 53e0a27 + dc71a7e commit ebb3c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_mailbox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ else
fi


maxwait=$(bc <<< "scale = 10; ($critical+1500) / 1000")
maxwait=$(bc <<< "scale = 0; ($critical+1500) / 1000")

# Build the arg parameters
insecurearg=""
Expand Down

0 comments on commit ebb3c2d

Please sign in to comment.