diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2009-01-30 18:21:52 +0100 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2009-01-30 18:21:52 +0100 |
commit | d27bd1a9015c9c1e9fe2d862d136e96e8a80f706 (patch) | |
tree | 73614cd11c0a13b88cbedbe3ea25b99af20a3b54 | |
parent | d3a10222b0262b103d1fc6ad855a81017f4943a2 (diff) | |
download | smokeping-d27bd1a9015c9c1e9fe2d862d136e96e8a80f706.tar.gz smokeping-d27bd1a9015c9c1e9fe2d862d136e96e8a80f706.tar.xz |
fix for static implementation
-rw-r--r-- | CHANGES | 3 | ||||
-rw-r--r-- | lib/Smokeping.pm | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,6 @@ +* help --static to work a bit better by fixing the dummy script_name + implementation -- tobi + * disable __DIE__ handler inside evals -- tobi * fix broken FPing.pm error message call -- tobi diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm index 59a9ee3..e09419a 100644 --- a/lib/Smokeping.pm +++ b/lib/Smokeping.pm @@ -73,7 +73,7 @@ sub dummyCGI::param { } sub dummyCGI::script_name { - return wantarray ? () : ""; + return "sorry_no_script_name_when_running_offline"; } sub load_probes ($){ |