Date: Mon, 6 May 2002 14:10:03 -0700 (PDT) From: Scott Lambert <scott@inch.com> To: freebsd-bugs@FreeBSD.org Subject: Re: misc/23766: /etc/periodic/daily/440.status-mailq does not produce output when daily_status_mailq_shorten="YES" is specified Message-ID: <200205062110.g46LA3R24165@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/23766; it has been noted by GNATS. From: Scott Lambert <scott@inch.com> To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: misc/23766: /etc/periodic/daily/440.status-mailq does not produce output when daily_status_mailq_shorten="YES" is specified Date: Mon, 6 May 2002 17:03:07 -0400 Ok, so this still hasn't seen action. I've left the job were it was an issue for me and gotten a new job where it is again an issue. Here is an updated patch against the current -STABLE version of /etc/periodic/daily/444.status-mailq. I've left out the additional control over how many entries have to be listed before a line is printed as that may have been what kept the last patch from being committed. --- etc/periodic/daily/440.status-mailq.orig Mon May 6 16:45:05 2002 +++ etc/periodic/daily/440.status-mailq Mon May 6 16:47:16 2002 @@ -29,7 +29,8 @@ sort | uniq -c | sort -nr | - awk '$1 > 1 {print $1, $2}');; + awk '$1 > 1 {print $1, $2}'); + echo "$rc";; *) mailq;; esac | tee /dev/stderr | fgrep -v 'mqueue is empty' | wc -l) @@ -49,7 +50,8 @@ sort | uniq -c | sort -nr | - awk '$1 > 1 {print $1, $2}');; + awk '$1 > 1 {print $1, $2}'); + echo "$rc";; *) mailq -Ac;; esac | tee /dev/stderr | fgrep -v 'mqueue is empty' | wc -l) -- Scott Lambert KC5MLE System Administrator scott@inch.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205062110.g46LA3R24165>