diff options
author | brian <brian@FreeBSD.org> | 2000-06-30 09:39:51 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2000-06-30 09:39:51 +0000 |
commit | 97d1a2bb34b02efdd2f7fb3a02bb615218678d50 (patch) | |
tree | e32813a6b91d5bdbab366adc0e54648c0b5a5f91 /etc/periodic | |
parent | f524c27c4b3d3123a0b64ef8a3b3e95f67b89640 (diff) | |
download | FreeBSD-src-97d1a2bb34b02efdd2f7fb3a02bb615218678d50.zip FreeBSD-src-97d1a2bb34b02efdd2f7fb3a02bb615218678d50.tar.gz |
Correct two variable names
Mostly submitted by: howardjp@wam.umd.edu
PR: 19567
Diffstat (limited to 'etc/periodic')
-rwxr-xr-x | etc/periodic/daily/130.clean-msgs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/periodic/daily/130.clean-msgs b/etc/periodic/daily/130.clean-msgs index 00dcef1..c12cba9 100755 --- a/etc/periodic/daily/130.clean-msgs +++ b/etc/periodic/daily/130.clean-msgs @@ -13,15 +13,15 @@ then source_periodic_confs fi -case "$daily_clean_preserve_enable" in +case "$daily_clean_msgs_enable" in [Yy][Ee][Ss]) if [ -d /var/msgs ] then echo "" echo "Cleaning out old system announcements:" - [ -n "$daily_clean_msg_days" ] && - arg=-${daily_clean_msg_days#-} || arg= + [ -n "$daily_clean_msgs_days" ] && + arg=-${daily_clean_msgs_days#-} || arg= msgs -c $arg fi;; esac |