perl plugin: Set $0 to "collectd".
authorSebastian Harl <sh@tokkee.org>
Sun, 28 Oct 2007 09:50:24 +0000 (10:50 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Sun, 28 Oct 2007 10:48:33 +0000 (11:48 +0100)
commitbc6790409971d84b1c8aa7201667c869e155e03b
tree40807dcc33318429d3da408761a8339011aed8e6
parentd40825d21dc455dc29c83ad741e01cf1a14129a6
perl plugin: Set $0 to "collectd".

perl_parse() has to set it to "-e" which is not very meaningful. It would
be even nicer to set it to argv[0] but this is not available from inside
the plugin.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/perl.c