Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: adding wtmp script into logwatch

by NetWallah (Abbot)
on Dec 01, 2011 at 00:45 UTC ( #940979=note: print w/ replies, xml ) Need Help??


in reply to Re^2: adding wtmp script into logwatch
in thread adding wtmp script into logwatch

What I meant was : Get rid of the "perl -we" entirely.

This includes the single quotes after "perl -we", and the matching one at the end of the program.

The reason for this is that , for some reason, for this script, your system is invoking the perl interpreter automatically, instead of the expected bash (or other) shell. And 'perl' does not like a program content to start with 'perl -we'.

            "XML is like violence: if it doesn't solve your problem, use more."


Comment on Re^3: adding wtmp script into logwatch

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://940979]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2015-07-07 09:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (88 votes), past polls