diff options
| author | fukachan <fukachan> | 2004-08-14 03:35:43 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2004-08-14 03:35:43 +0000 |
| commit | 5e8a7a05f1a872d5c5960804ea34e14a371544f3 (patch) | |
| tree | fb351c746dddaf45d95b5e24b9504303064fdbc4 /fml/lib/FML/Command/Admin | |
| parent | f3dd33cfe5d500e45114ba6efd7cb0e6c51f2d24 (diff) | |
| download | fml8-5e8a7a05f1a872d5c5960804ea34e14a371544f3.tar.gz fml8-5e8a7a05f1a872d5c5960804ea34e14a371544f3.tar.bz2 fml8-5e8a7a05f1a872d5c5960804ea34e14a371544f3.zip | |
show number of requests if requests > 0
Diffstat (limited to 'fml/lib/FML/Command/Admin')
| -rw-r--r-- | fml/lib/FML/Command/Admin/mailq.pm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/fml/lib/FML/Command/Admin/mailq.pm b/fml/lib/FML/Command/Admin/mailq.pm index 5863622a..e3a8d8e6 100644 --- a/fml/lib/FML/Command/Admin/mailq.pm +++ b/fml/lib/FML/Command/Admin/mailq.pm @@ -4,7 +4,7 @@ # All rights reserved. This program is free software; you can # redistribute it and/or modify it under the same terms as Perl itself. # -# $FML: mailq.pm,v 1.7 2003/12/31 03:53:31 fukachan Exp $ +# $FML: mailq.pm,v 1.8 2004/06/26 11:47:57 fukachan Exp $ # package FML::Command::Admin::mailq; @@ -96,7 +96,10 @@ sub _list_up_queue $count++; } - unless ($count) { + if ($count) { + $curproc->ui_message("-- $count requests."); + } + else { $curproc->ui_message("Mail queue is empty"); } } |
