diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Smokeping.pm | 2 | ||||
-rw-r--r-- | lib/Smokeping/Graphs.pm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm index 293cdba..7e5bc2f 100644 --- a/lib/Smokeping.pm +++ b/lib/Smokeping.pm @@ -1420,7 +1420,7 @@ sub get_detail ($$$$;$){ print "Content-Length: ".length($data)."\n\n"; print $data; unlink "${imgbase}_${end}_${start}.png"; - exit; + return undef; } elsif ($mode eq 'n'){ # navigator mode # $page .= qq|<div class="zoom" style="cursor: crosshair;">|; diff --git a/lib/Smokeping/Graphs.pm b/lib/Smokeping/Graphs.pm index 0791796..314fa54 100644 --- a/lib/Smokeping/Graphs.pm +++ b/lib/Smokeping/Graphs.pm @@ -281,7 +281,7 @@ sub get_multi_detail ($$$$;$){ print "Content-Length: ".length($data)."\n\n"; print $data; unlink "${imgbase}_${end}_${start}.png"; - exit; + return undef; } elsif ($mode eq 'n'){ # navigator mode |