Re: Fwd: 'system uptime' service - contribution
Hugo van der Kooij <[email protected]>
| Newsgroups | gmane.comp.log.logwatch.devel |
|---|---|
| Message-ID | <[email protected]> |
> if (($ENV{'PRINTING'} eq "y" ) && (-f "/usr/bin/uptime")) {
> #print "\n\n------------------ System Uptime
> --------------------\n\n";
> system("$env /usr/bin/uptime");
> print "\n";
> }
> elsif (($ENV{'PRINTING'} eq "y" ) && (-f "/usr/bin/uptime")) {
> #print "\n\n------------------ System Uptime
> --------------------\n\n";
> system("$env /usr/bin/uptime");
> print "\n";
> }
I can't fathom what the second part is for. It is a duplicate of the first
conditional statement.
Hugo.
--
[email protected] http://hvdkooij.xs4all.nl/
This message is using 100% recycled electrons.
Some men see computers as they are and say "Windows"
I use computers with Linux and say "Why Windows?"
(Thanks JFK, for the insight.)