diff options
Diffstat (limited to '')
-rw-r--r-- | detail.php | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -30,9 +30,7 @@ html_start(); | |||
30 | printf('<fieldset id="%s">', $host); | 30 | printf('<fieldset id="%s">', $host); |
31 | printf('<legend>%s</legend>', $host); | 31 | printf('<legend>%s</legend>', $host); |
32 | 32 | ||
33 | $plugins = collectd_plugins($host); | 33 | if (!$plugins = collectd_plugins($host)) { |
34 | |||
35 | if(!$plugins) { | ||
36 | echo "Unknown host\n"; | 34 | echo "Unknown host\n"; |
37 | return false; | 35 | return false; |
38 | } | 36 | } |