diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2008-07-24 19:36:57 +0200 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2008-07-24 19:36:57 +0200 |
commit | 6f4833870c8de9fbcc0fa96f87c783fa9e280b5e (patch) | |
tree | e655e776c585bb0edafbe9b8f8a7a98bca8bb89b /bin | |
parent | 11299344ee659123b8fe18794da4e7a7b24c6e5c (diff) | |
download | smokeping-6f4833870c8de9fbcc0fa96f87c783fa9e280b5e.tar.gz smokeping-6f4833870c8de9fbcc0fa96f87c783fa9e280b5e.tar.xz |
* added strict and warnings to the cgi and the daemon wrappers ...
* fixed regression introduced while fixing taint issues
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/smokeping.dist | 7 | ||||
-rwxr-xr-x | bin/tSmoke.dist | 3 |
2 files changed, 6 insertions, 4 deletions
diff --git a/bin/smokeping.dist b/bin/smokeping.dist index 148a880..711580b 100755 --- a/bin/smokeping.dist +++ b/bin/smokeping.dist @@ -1,9 +1,10 @@ -#!/usr/sepp/bin/perl-5.8.4 -w +#!/usr/bin/perl -w # -*-perl-*- -use lib qw(/usr/pack/rrdtool-1.2.23-mo/lib/perl); +use lib qw(/usr/pack/rrdtool-1.3.0-rp/lib/perl); use lib qw(lib); - +use strict; +use warnings; use Smokeping 2.004000; Smokeping::main("etc/config.dist"); diff --git a/bin/tSmoke.dist b/bin/tSmoke.dist index cf876f8..d4612d2 100755 --- a/bin/tSmoke.dist +++ b/bin/tSmoke.dist @@ -43,6 +43,7 @@ # Tobias Oetiker, or course, the author of Smokeping, RRDTool and MRTG # use strict; +use warnings; # We need to use # -- Smokeping libraries @@ -51,7 +52,7 @@ use strict; # # Point the lib variables to your implementation use lib qw(lib); -use lib "/usr/local/rrdtool-1.0.39/lib/perl"; +use lib qw(/usr/local/rrdtool-1.0.39/lib/perl); use Smokeping 2.004000; use Net::SMTP; |