summaryrefslogtreecommitdiffstats
path: root/mcheck.sh
blob: 35f076cf0a969d255fa930abd82edcfa7581129b (plain)
1
2
3
4
5
6
7

if [ -f /etc/sysconfig/mcheck ]; then
    . /etc/sysconfig/mcheck
    if [ -n "$MALLOC_CHECK_" ]; then
        export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
    fi
fi