dcc 1.2.9 - `expr many / 3`

Valentin Chopov valentin@valcho.net
Mon Sep 29 12:54:12 UTC 2003


Hi,

In case of DCCM_REJECT_AT=many the libexec/start-dccd script
expr returns error:
+ test ! -z many
+ expr many / 3
expr: non-numeric argument
+ FLOD_AT=
+ test  -gt 20

Thanks,

Val

# tell dccd to flood about as readily as dccm rejects
#   change this if BULK_THRESHOLD changes
if test ! -z "$DCCM_REJECT_AT"; then
    FLOD_AT=`expr $DCCM_REJECT_AT / 3`
    if test "$FLOD_AT" -gt 20; then
        DCCD_ARGS="-t ,$FLOD_AT $DCCD_ARGS"
    fi
fi



==
Valentin S. Chopov, CC[ND]P
Sys/Net Admin
SEI Data Inc.
E-Mail: valentin@valcho.net
==





More information about the DCC mailing list

Contact vjs@rhyolite.com by mail or use the form.