View | Details | Raw Unified | Return to bug 60676
Collapse All | Expand All

(-)etc/periodic/daily/150.clean-hoststat (-2 / +2 lines)
Lines 14-26 Link Here
14
14
15
case "$daily_clean_hoststat_enable" in
15
case "$daily_clean_hoststat_enable" in
16
    [Yy][Ee][Ss])
16
    [Yy][Ee][Ss])
17
	if [ -z "$(sendmail -bh 2>&1)" ]; then
17
	if [ -z "$(hoststat -bh 2>&1)" ]; then
18
	    rc=2
18
	    rc=2
19
	else
19
	else
20
	    echo ""
20
	    echo ""
21
	    echo "Removing stale entries from sendmail host status cache:"
21
	    echo "Removing stale entries from sendmail host status cache:"
22
	    rc=0
22
	    rc=0
23
	    sendmail -bH || rc=1
23
	    purgestat -bH || rc=1
24
	fi;;
24
	fi;;
25
25
26
    *)  rc=0;;
26
    *)  rc=0;;

Return to bug 60676