Project

General

Profile

« Previous | Next » 

Revision ab298d29

Added by Nathan Scott about 13 years ago

  • ID ab298d29a51dc7d5cbf03c374c9e3f33afda9910

Fix /bin/pwd with -P for those platforms with no support for it.

Commit cddf082ed4711273305880c7b2cb2add4ea60a1e has introduced an
unfortunate side-effect for some platforms where /bin/pwd doesn't
support -P. On these platforms (as recent as RHEL5) the command
prints a warning - /bin/pwd: ignoring non-option arguments - but
still runs to completion.

Workaround for this is to toss stderr and just go with the result
from stdout. Without this change, pmie_check from cron every few
minutes sends mail with the above warning, once per pmlogger.

  • added
  • modified
  • copied
  • renamed
  • deleted