summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGES3
-rw-r--r--lib/Smokeping.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 7651c1f..0658e60 100644
--- a/CHANGES
+++ b/CHANGES
@@ -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 ($){