aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2010-04-12 15:36:33 +0200
committerGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2010-04-12 15:36:33 +0200
commit7a661c7aed2a0bad4ce1e3786bc707cd2b07c128 (patch)
treea61b0d7d8c42f6710c4e95dd61da7dd7a82b5e7c /plugins
parent08f83072048f2c4c783c3216f5933f04b191847f (diff)
downloadmonitoring-plugins-7a661c7aed2a0bad4ce1e3786bc707cd2b07c128.tar.gz
Fix Debian bug #545940: Failure when run via ePN
If Perl's "shift" function is called outside of a subroutine and without any argument, it usually shifts @ARGV. However, if a plugin is executed via ePN, such a call will shift @_ instead, so we must explicitly specify @ARGV for this to work as expected. This fixes Debian bug #545940, see: http://bugs.debian.org/545940 Commit de7191e3424e02ba278a39b86e8b1906a25d0362 fixed the same issue for check_disk_smb. (Reported by Hendrik Jaeger, forwarded by Jan Wagner.)
Diffstat (limited to 'plugins')
0 files changed, 0 insertions, 0 deletions