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 /lib | |
parent | d3a10222b0262b103d1fc6ad855a81017f4943a2 (diff) | |
download | smokeping-d27bd1a9015c9c1e9fe2d862d136e96e8a80f706.tar.gz smokeping-d27bd1a9015c9c1e9fe2d862d136e96e8a80f706.tar.xz |
fix for static implementation
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Smokeping.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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 ($){ |