summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2009-01-30 18:21:52 +0100
committerTobi Oetiker <tobi@oetiker.ch>2009-01-30 18:21:52 +0100
commitd27bd1a9015c9c1e9fe2d862d136e96e8a80f706 (patch)
tree73614cd11c0a13b88cbedbe3ea25b99af20a3b54 /lib
parentd3a10222b0262b103d1fc6ad855a81017f4943a2 (diff)
downloadsmokeping-d27bd1a9015c9c1e9fe2d862d136e96e8a80f706.tar.gz
smokeping-d27bd1a9015c9c1e9fe2d862d136e96e8a80f706.tar.xz
fix for static implementation
Diffstat (limited to 'lib')
-rw-r--r--lib/Smokeping.pm2
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 ($){