Project

General

Profile

« Previous | Next » 

Revision c8178d8c

Added by Nathan Scott about 13 years ago

  • ID c8178d8cc932b17378cc93a6c9d8a1e89e55a528

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