diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2010-04-11 07:54:10 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2010-04-11 07:54:10 (GMT) |
commit | de7191e3424e02ba278a39b86e8b1906a25d0362 (patch) | |
tree | 71ac9b1b6c41db047f615b6b691a12e0aebf9e8e /plugins-scripts/check_ifstatus.pl | |
parent | 1fe0f16d34e369f1a9e2dbefe1acc7448a1e1b53 (diff) | |
download | monitoring-plugins-de7191e3424e02ba278a39b86e8b1906a25d0362.tar.gz |
Fix Debian bug #478906: Failure when run via ePN
| When perl plugin scripts are run with the embedded perl interpreter in
| nagios3, the "shift" perl command doesn't shift @ARGV, but @_ (which
| happens to contain the same thing as @ARGV at the time the script was
| started).
|
| [...]
|
| A fix is to replace all the instances of "shift" with "shift @ARGV".
[ http://bugs.debian.org/478906 ]
(Fixed by Stephane Chazelas, forwarded by Jan Wagner.)
Diffstat (limited to 'plugins-scripts/check_ifstatus.pl')
0 files changed, 0 insertions, 0 deletions